X-Git-Url: http://git.rot13.org/?p=MARC-Fast;a=blobdiff_plain;f=scripts%2Fdump_fastmarc.pl;h=f9e96f2fba8d0b90ce5e224dc8761a60da066704;hp=fc6317cbcd44736051d537c876ca8a3862d58b86;hb=4c444f30647dedeeaea1300adf8ba3e60d1f63f3;hpb=5fc18887422d2dd62c716b73d81a226f3a295e5b diff --git a/scripts/dump_fastmarc.pl b/scripts/dump_fastmarc.pl index fc6317c..f9e96f2 100755 --- a/scripts/dump_fastmarc.pl +++ b/scripts/dump_fastmarc.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl -w use strict; -use blib; +use lib 'lib'; use MARC::Fast; use Getopt::Std; @@ -69,5 +69,5 @@ for my $mfn ($min .. $max) { print "REC $mfn\n"; print $marc->last_leader,"\n"; print $marc->to_ascii($mfn),"\n"; - print "hash is ",dump($marc->to_hash($mfn)) if ($opt{h}); + print "hash is ",dump($marc->to_hash($mfn, include_subfields => 1)) if ($opt{h}); }