Basic questions -- skipping records that don't pass muster

2014-02-13 Thread Anne Highsmith
Through various programs, when I've been processing MARC records and found 1 that didn't pass muster (couldn't pass structural or character set requirements) I generally slogged through, found it, and fixed it. But now I have passed on some of my code to someone who doesn't have the time or the

Re: Basic questions -- skipping records that don't pass muster

2014-02-13 Thread Eric Lease Morgan
On Feb 13, 2014, at 4:20 PM, Anne Highsmith wrote: > Occasionally, this code will hit a bib record that has an invalid tag and > will blow up with something like: > " Tag "`1`" is not a valid tag at ...USMARC.pm line 222" > What is an appropriate way to print out that record to an error file an