|
From: Jean-Denis M. <jd...@kl...> - 2010-01-22 14:16:24
|
Hi,
I am a newcomer to MARC::Record and I wanted to go through the tutorial.
Unfortunately, the very first example in the tutorial fails with the
following error message:
Undefined subroutine &MARC::Batch
Here is the full source code (comments removed):
use MARC::Batch;
my $batch = MARC::Batch('USMARC', 'export500.txt');
my $record = $batch->next();
print $record->title(),"\n";
The error happens on the second line.
I am on a Mac, running MacOS X 10.6.2, with Perl 5.10.0.
Any idea?
I hope this the correct place to get help. If there is a better-suited
avenue, I haven't found it and I will gladly follow a pointer.
FWIW, I am starting a rather large project with MARC (UNIMARC flavour). This
project will consolidate a large fraction of the French Ministry of
Defense's libraries. Several dozens thousand records will be
imported/processed/exported during the course of this project. While I may
need help from time to time (as today), I hope I'll also be able to give
back thanks to this project.
Regards and thanks,
Jean-Denis Muys
|