[do...@uta.edu]
Skickat: den 7 januari 2011 15:11
Till: Leif Andersson; 'Jon Gorman'; perl4lib
Ämne: RE: MARC blob to MARC::Record object
Hi Leif and Jon,
use MARC::Record;
...
my $record = MARC::Record-new_from_usmarc( $blob );
This works!
From: Jon Gorman [mailto:jonathan.gor...@gmail.com
; perl4lib
Subject: Re: MARC blob to MARC::Record object
I hope you will forgive me for a late addendum.
Not only do I have to apologize for the late arrival of this post, I also
should apologize for its (lack of) seriousness.
Actually - this is in every respect just a programming scherzo, so to speak
How do I make the MARC blob into a MARC::Record object (without having
to first save it a file and read it in with MARC::File/Batch)? The
MARC blob is already in a variable, so it doesn't make sense (to me) to
write it out to a file just so I can read it back in. Unless I have
to, natch.
Hi Michael,
this is how I - in principle - usually do it:
use MARC::Record;
...
my $record = MARC::Record-new_from_usmarc( $blob );
/Leif
Leif Andersson, Systems librarian
Stockholm University Library
Från: Doran, Michael D [do...@uta.edu]
Skickat: den
, January 06, 2011 6:19 PM
To: Doran, Michael D; perl4lib
Subject: RE: MARC blob to MARC::Record object
How do I make the MARC blob into a MARC::Record object (without having
to first save it a file and read it in with MARC::File/Batch)? The
MARC blob is already in a variable, so