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