Leif and Bill
I added the quote statement. It is working now.
Thanx
Jacobien
-Original Message-
From: Leif Andersson [mailto:[EMAIL PROTECTED]
Sent: 20 September 2007 03:44 PM
To: Jacobien Stols
Cc: perl4lib@perl.org
Subject: Re: Marc blob - mysql
Jacobien,
Try this:
my $blob
Jacobien,
Try this:
my $blob = $record->as_usmarc();
$blob= $dbh->quote($blob);
And load $blob as you did before.
Leif
==
Leif Andersson, Systems Librarian
Stockholm University Library
SE-106 91 Stockholm
SWEDEN
27;,a=>$desc);
$field->replace_with($new_field);
}
But this solution is not so clean, because, I don't know beforehand in
which marc tags I will find the single quote (').
Jacobien
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed
What's the exact error message?
//Ed