10 eval "use Data::Dump";
13 *Dumper = *Data::Dump::dump;
20 getopts('do:l:', \%opt);
22 my $isisdb = shift @ARGV || die "usage: $0 [-o offset] [-l limit] [-d] /path/to/isis/BIBL\n";
24 my $isis = Biblio::Isis->new (
26 debug => $opt{'d'} ? 2 : 0,
31 print "rows: ",$isis->count,"\n\n";
33 my $min = $opt{o} || 1;
34 my $max = $isis->count;
35 $max = ( $min + $opt{l} - 1 ) if ($opt{l});
37 for my $mfn ($min .. $max) {
38 print STDERR Dumper($isis->to_hash($mfn)),"\n" if ($opt{'d'});
39 print $isis->to_ascii($mfn),"\n";