I'm using MARC-Record-2.0.0, and having problems when batch processing
records with (really) bad data. Batch->strict_off isn't enough:
apparently USMARC.pm's decode() routine calls Field->new, which croaks
(dies), so the warning handling done by Batch->strict_off can't help.
I've attached a test
On Wed, Jan 14, 2004 at 09:59:49AM +, Stephen Graham wrote:
> It is in fact:
>
> MARC::Doc::Tutorial
Thanks Stephen, docfix applied :)
//Ed
One "error" I spotted with the documentation which came with MARC Record
1.34 is in the README. It says to look at the tutorial do use:
MARC::Tutorial
It is in fact:
MARC::Doc::Tutorial
Stephen :-)
Ed Summers wrote:
On Tue, Jan 13, 2004 at 04:11:17PM -0500, Sperr, Edwin wrote:
use MARC::Bat
Fixed it right up! Thanks for the quick info...
Ed.
-Original Message-
From: Ed Summers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 4:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Problems with MARC::Batch
On Tue, Jan 13, 2004 at 04:11:17PM -0500, Sperr, Edwin wrote:
>
On Tue, Jan 13, 2004 at 04:11:17PM -0500, Sperr, Edwin wrote:
> use MARC::Batch;
> my $batch = Marc::Batch('USMARC', 'file.dat');
You must be looking at the SYNOPSIS section for MARC::Batch? You are absolutely
right, it's a typo in the docs :(
Other parts of the documentation have the correct us
> Undefined subroutine &Marc::Batch called at C:\MARCPERL\test1.pl line 6.
>
> ## create a MARC::Batch object.
> use MARC::Batch;
> my $batch = Marc::Batch('USMARC', 'file.dat');
It's MARC::Batch, not Marc::Batch. Perl is case-sensitive.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdanc
Hi --
I'm trying to get MARC::Batch to work. To wit, when I try to use the
example script given in the documentation (or any other script that I've
tried), I get an error along the lines of:
Undefined subroutine &Marc::Batch called at C:\MARCPERL\test1.pl line 6.
Oddly enough, another example s