RE: MARC::Field-subfields function

2010-09-09 Thread Gorman, Jon
And what field are you pulling? Does it have subfields? Are you sure you're using the same variable? Seeing more of your code might make it easier to guess. Not all marc fields have to have subfields. Not sure what MARC::Field returns if it does not have any. If it returns undefined, that

Re: MARC::Field-subfields function

2010-09-09 Thread Galen Charlton
Hi, On Thu, Sep 9, 2010 at 5:57 AM, Colin Campbell colin.campb...@ptfs-europe.com wrote: On 08/09/10 22:07, Justin Rittenhouse wrote: Taking a look at MARC/Field.pm there's a bit of shaky error handling. subfields checks to see if its a control field, warns that it is then proceeds to try and