projects
/
MARC-Fast
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include subfields in to_hash dump
[MARC-Fast]
/
scripts
/
dump_fastmarc.pl
diff --git
a/scripts/dump_fastmarc.pl
b/scripts/dump_fastmarc.pl
index
2186882
..
efce954
100755
(executable)
--- a/
scripts/dump_fastmarc.pl
+++ b/
scripts/dump_fastmarc.pl
@@
-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 "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});
+ print "hash is ",Dumper($marc->to_hash($mfn
, include_subfields => 1
)) if ($opt{h});
}
}