Re: MARC::Field->subfields function

[email protected] (Colin Campbell)
Newsgroups perl.perl4lib
Message-ID <[email protected]>
On 08/09/10 22:07, Justin Rittenhouse wrote:
> Ahh...I bet that's it...and I see an "is control field" function which should allow me to skip those and only hit the fields that should have tags.  That did it.  Thanks!
> 
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 return the non-existent array. It should just return
at that point.

I'll take a look at creating a patch for that.

Cheers
Colin

-- 
Colin Campbell
Chief Software Engineer,
PTFS Europe Limited
Content Management and Library Solutions
+44 (0) 208 366 1295 (phone)
+44 (0) 7759 633626  (mobile)
[email protected]
skype: colin_campbell2

http://www.ptfs-europe.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.