/[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 12 by dpavlin, Wed Dec 29 16:01:41 2004 UTC revision 13 by dpavlin, Wed Dec 29 20:10:59 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 => 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  }  }

Legend:
Removed from v.12  
changed lines
  Added in v.13

  ViewVC Help
Powered by ViewVC 1.1.26