On 02/gen/06, at 05:50, Saiful Amin wrote:

Hi,

Another method could be to store MARC record as a blob. That's how many
library systems (including PHPMyLibrary) handles MARC data. However, I'm
ignorant of the performance issues.

This is my opinion too. No problem with performances, I think.
Stefano


Regards,
Saiful

On 1/2/06, Mark Jordan <[EMAIL PROTECTED]> wrote:

Hi Aaron,

I'm not sure if this will solve your quoting problems, but instead of
rawdata() you could trying using the encode() method to serialize a record
object
for insertion into a database field. You can then use decode() to get the
record object back:

use MARC::File::USMARC;

# Serialize the current record
my $serialized = $record->MARC::File::USMARC::encode();
# De-serialize it into a MARC object
my $newrecord = MARC::File::USMARC::decode($serialized);
print $newrecord->title() . "\n";

Mark


--
Saiful Amin
Information Specialist
Edutech India
8 Khader Nawaz Khan Road
Chennai 600006, India
Tel: +91 44 2833 0999
GSM: +91 98407 76214
Fax: +91 44 2833 1777
www.edutechindia.com
"Enhancing knowledge and skills for success, lifelong."


Reply via email to