1AnyData::Format::ParagrUaspehr(3C)ontributed Perl DocumeAnntyaDtaitoan::Format::Paragraph(3)
2
3
4

NAME

6       AnyData::Format::Paragraph - tiedhash & DBI/SQL access to vertical
7       files
8

SYNOPSIS

10        use AnyData;
11        my $table = adHash( 'Paragraph', $filename,'r',$flags );
12        while (my $row = each %$table) {
13           print $row->{name},"\n" if $row->{country} =~ /us|mx|ca/;
14        }
15        # ... other tied hash operations
16
17        OR
18
19        use DBI
20        my $dbh = DBI->connect('dbi:AnyData:');
21        $dbh->func('table1','Paragraph', $filename,$flags,'ad_catalog');
22        my $hits = $dbh->selectall_arrayref( qq{
23            SELECT name FROM table1 WHERE country = 'us'
24        });
25        # ... other DBI/SQL operations
26

DESCRIPTION

28       This is a plug-in format parser for the AnyData and DBD::AnyData
29       modules.
30
31       It handles "vertical" files in which the record name occurs on a line
32       by itself followed by records on lines by themselves, e.g.
33
34        Photoslop
35        /My Photos/
36        .jpg, .gif, .psd
37
38        Nutscrape
39        /htdocs/
40        .html, .htm
41
42       Please refer to the documentation for AnyData.pm and DBD::AnyData.pm
43       for further details.
44
46       copyright 2000, Jeff Zucker <jeff@vpservices.com> all rights reserved
47
48
49
50perl v5.12.0                      2001-07-17     AnyData::Format::Paragraph(3)
Impressum