display also leader in dump
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 30 Oct 2007 16:41:06 +0000 (16:41 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 30 Oct 2007 16:41:06 +0000 (16:41 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/MARC-Fast/trunk@22 49f9634a-d7ec-0310-8e6b-ec35c6cc8804

scripts/dump_fastmarc.pl

index 1f0605d..2186882 100755 (executable)
@@ -67,6 +67,7 @@ for my $mfn ($min .. $max) {
        my $rec = $marc->fetch($mfn) || next;
        print "rec is ",Dumper($rec) if ($opt{d});
        print "REC $mfn\n";
+       print $marc->last_leader,"\n";
        print $marc->to_ascii($mfn),"\n";
        print "hash is ",Dumper($marc->to_hash($mfn)) if ($opt{h});
 }