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 |
); |
); |
17 |
|
|
18 |
print "rows: ",$isis->{'maxmfn'},"\n\n"; |
print "rows: ",$isis->{'maxmfn'},"\n\n"; |
19 |
|
|
20 |
for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $mfn++) { |
for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $mfn++) { |
21 |
|
print STDERR Dumper($isis->to_hash($mfn)) if ($debug); |
22 |
print $isis->to_ascii($mfn),"\n"; |
print $isis->to_ascii($mfn),"\n"; |
23 |
|
|
24 |
} |
} |