Parent Directory | Revision Log
new api version - added count method (instead of calling maxmfn directly in object) - added POD coverage test - moved unpack_cnt to be separate method and document it
1 | #!/usr/bin/perl -w |
2 | |
3 | use strict; |
4 | use blib; |
5 | |
6 | use IsisDB; |
7 | use Data::Dumper; |
8 | |
9 | my $isisdb = shift @ARGV || '/data/isis_data/ps/LIBRI/LIBRI', |
10 | my $debug = shift @ARGV; |
11 | |
12 | my $isis = IsisDB->new ( |
13 | isisdb => $isisdb, |
14 | debug => $debug, |
15 | include_deleted => 1, |
16 | # read_fdt => 1, |
17 | ); |
18 | |
19 | print "rows: ",$isis->count,"\n\n"; |
20 | |
21 | for(my $mfn = 1; $mfn <= $isis->count; $mfn++) { |
22 | print STDERR Dumper($isis->to_hash($mfn)),"\n" if ($debug); |
23 | print $isis->to_ascii($mfn),"\n"; |
24 | |
25 | } |
26 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |