--- trunk/scripts/dump_isis.pl 2004/12/28 01:41:45 2 +++ trunk/scripts/dump_isis.pl 2004/12/29 22:46:40 15 @@ -6,11 +6,20 @@ use IsisDB; use Data::Dumper; +my $isisdb = shift @ARGV || '/data/isis_data/ps/LIBRI/LIBRI', +my $debug = shift @ARGV; + my $isis = IsisDB->new ( - isisdb => '/data/isis_data/ps/LIBRI/LIBRI', + isisdb => $isisdb, + debug => $debug, + include_deleted => 1, +# read_fdt => 1, ); +print "rows: ",$isis->{'maxmfn'},"\n\n"; + for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $mfn++) { + print STDERR Dumper($isis->to_hash($mfn)),"\n" if ($debug); print $isis->to_ascii($mfn),"\n"; }