On Fri, Sep 09, 2011 at 02:55:03PM -0700, Mark Jordan wrote:
> Anyone know if there are any reasons that MARC::Record et al can't be
> used to create dumps of MFHD? For example, are there any
> leader/indicator values that are specific to MFHD that are illegal in
> MARC bib records that might cause MARC/Perl to puke?
There shouldn't be, but if you run into problems with them you might
consider trying MARC::Loop, which doesn't know or care what the data
inside a MARC record is just as long as the record has the correct
structure (24-byte leader, valid field lengths in the directory, two
bytes of indicators in each data field, etc.).
The interface is totally different from MARC::Record, though, so don't
bother with it unless you can't use MARC::Record for some reason and
(preferrably) you grok things like this:
my ($rec_id) = map { ${ $_->[VALREF] } }
grep { $_->[TAG] eq '001' } @$fields;
Paul.
--
Paul Hoffman <[email protected]>