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 script using Marc::Record works just fine. I'm using ActiveState Perl v 5.8. I've tried installing and uninstalling using ppm multiple times. I've even tried grabbing the CPAN file and manually putting it in my perl/site/lib directory (I couldn't get Make to behave). Script below: #!/perl -w ## Example R1 ## create a MARC::Batch object. use MARC::Batch; my $batch = Marc::Batch('USMARC', 'file.dat'); ## get a MARC record from the MARC::Batch object. ## the $record will be a MARC::Record object. my $record = $batch->next(); ## print the title contained in the record. print $record->title(),"\n"; I'm new to perl, so I'm not sure if there's anything obvious that I'm missing. Thanks! Ed Sperr Education / Electronic Resources Librarian New England College of Optometry