Re: testing invalid iso2709 files

2003-10-21 Thread moregan
[EMAIL PROTECTED] cc: 10/21/2003 11:30 Subject: Re: testing invalid iso2709 files

Re: testing invalid iso2709 files

2003-10-21 Thread Ed Summers
On Tue, Oct 21, 2003 at 06:21:31PM +0200, paul POULAIN wrote: > other question : how works ->warnings ? > I tried $marcrecord->warnings(), but I only get a number. how about in list context? @warnings = $record->warnings(); This should have been more clear in the docs (which are now updated

testing invalid iso2709 files

2003-10-21 Thread paul POULAIN
Hi, The following code : my $marcrecord = MARC::File::USMARC::decode($marcarray[$i]."\x1D"); warn "ref : ".ref($marcrecord); ... inclusion in Koha DB ... works fine with a valid iso2709 record in $marcarray[$i]. With something not valid (like a random value), it returns that r