/[Biblio-Isis]/trunk/scripts/dump_isisdb.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/scripts/dump_isisdb.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by dpavlin, Tue Dec 28 04:06:04 2004 UTC revision 15 by dpavlin, Wed Dec 29 22:46:40 2004 UTC
# Line 6  use blib; Line 6  use blib;
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 => '/data/isis_data/ps/LIBRI/LIBRI',          isisdb => $isisdb,
14            debug => $debug,
15            include_deleted => 1,
16    #       read_fdt => 1,
17  );  );
18    
19  print "rows: ",$isis->{'maxmfn'},"\n\n";  print "rows: ",$isis->{'maxmfn'},"\n\n";
20    
21  for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $mfn++) {  for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $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  }  }

Legend:
Removed from v.4  
changed lines
  Added in v.15

  ViewVC Help
Powered by ViewVC 1.1.26