6 |
use IsisDB; |
use IsisDB; |
7 |
use Data::Dumper; |
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 ( |
my $isis = IsisDB->new ( |
13 |
isisdb => shift @ARGV || '/data/isis_data/ps/LIBRI/LIBRI', |
isisdb => $isisdb, |
14 |
debug => shift @ARGV, |
debug => $debug, |
15 |
include_deleted => 1, |
include_deleted => 1, |
16 |
|
# read_fdt => 1, |
17 |
); |
); |
18 |
|
|
19 |
print "rows: ",$isis->{'maxmfn'},"\n\n"; |
print "rows: ",$isis->count,"\n\n"; |
20 |
|
|
21 |
for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $mfn++) { |
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"; |
print $isis->to_ascii($mfn),"\n"; |
24 |
|
|
25 |
} |
} |