From: Dobrica Pavlinusic Date: Sat, 1 Jan 2005 22:39:27 +0000 (+0000) Subject: renamed example script X-Git-Url: http://git.rot13.org/?p=Biblio-Isis;a=commitdiff_plain;h=2c00de890c477f7e84eefbf5555049d23b594cd3 renamed example script git-svn-id: file:///home/dpavlin/svn/Biblio-Isis/trunk@29 4670fa4d-42ec-0310-ab5b-a66af6943492 --- diff --git a/scripts/dump_isis.pl b/scripts/dump_isis.pl deleted file mode 100755 index adbc250..0000000 --- a/scripts/dump_isis.pl +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/perl -w - -use strict; -use blib; - -use IsisDB; -use Data::Dumper; - -my $isisdb = shift @ARGV || '/data/isis_data/ps/LIBRI/LIBRI', -my $debug = shift @ARGV; - -my $isis = IsisDB->new ( - isisdb => $isisdb, - debug => $debug, - include_deleted => 1, -# read_fdt => 1, -); - -print "rows: ",$isis->{'maxmfn'},"\n\n"; - -for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $mfn++) { - print STDERR Dumper($isis->to_hash($mfn)),"\n" if ($debug); - print $isis->to_ascii($mfn),"\n"; - -} - diff --git a/scripts/dump_isisdb.pl b/scripts/dump_isisdb.pl new file mode 100755 index 0000000..adbc250 --- /dev/null +++ b/scripts/dump_isisdb.pl @@ -0,0 +1,26 @@ +#!/usr/bin/perl -w + +use strict; +use blib; + +use IsisDB; +use Data::Dumper; + +my $isisdb = shift @ARGV || '/data/isis_data/ps/LIBRI/LIBRI', +my $debug = shift @ARGV; + +my $isis = IsisDB->new ( + isisdb => $isisdb, + debug => $debug, + include_deleted => 1, +# read_fdt => 1, +); + +print "rows: ",$isis->{'maxmfn'},"\n\n"; + +for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $mfn++) { + print STDERR Dumper($isis->to_hash($mfn)),"\n" if ($debug); + print $isis->to_ascii($mfn),"\n"; + +} +