/[Biblio-Isis]/trunk/scripts/dump_isis.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

Annotation of /trunk/scripts/dump_isis.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13 - (hide annotations)
Wed Dec 29 20:10:59 2004 UTC (19 years, 3 months ago) by dpavlin
File MIME type: text/plain
File size: 443 byte(s)
added debug output which displays raw structures

1 dpavlin 2 #!/usr/bin/perl -w
2    
3     use strict;
4     use blib;
5    
6     use IsisDB;
7     use Data::Dumper;
8    
9 dpavlin 13 my $isisdb = shift @ARGV || '/data/isis_data/ps/LIBRI/LIBRI',
10     my $debug = shift @ARGV;
11    
12 dpavlin 2 my $isis = IsisDB->new (
13 dpavlin 13 isisdb => $isisdb,
14     debug => $debug,
15 dpavlin 9 include_deleted => 1,
16 dpavlin 2 );
17    
18 dpavlin 4 print "rows: ",$isis->{'maxmfn'},"\n\n";
19    
20 dpavlin 2 for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $mfn++) {
21 dpavlin 13 print STDERR Dumper($isis->to_hash($mfn)) if ($debug);
22 dpavlin 2 print $isis->to_ascii($mfn),"\n";
23    
24     }
25    

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26