Module updates and HTML parsing question

2006-06-07 Thread Bryan Baldus
I have recently posted updates to several modules, as described below (and at ). As mentioned below I'm trying to write something to parse the lists of updated name authority records with closed dates (posted regularly on OCLC's website

Supressing Errors in MARC::Record

2006-06-07 Thread Aaron Huber
I have a script that fetches MARC records from my library's holdings via Z39.50. Every once in a while a record doesn't have a MARC Record attached to it and I get the following error: Can't call method "rawdata" on an undefined value at zrss.pl line 47, line 1. Here's what I have on and aro

Re: Supressing Errors in MARC::Record

2006-06-07 Thread Edward Summers
On Jun 7, 2006, at 9:37 AM, Aaron Huber wrote: #create new record object my $rec = $rs->record($i); #read in raw MARC to record my $mrec = MARC::Record->new_from_usmarc($rec->rawdata()); I would just like to skip those items without records or suppress this err