Subject: | Make Catmandu::Import::MARC a little bit more robust |
Date: | Tue, 10 Dec 2013 10:33:45 +1300 |
To: | bug-Catmandu-MARC [...] rt.cpan.org |
From: | Chris Cormack <chris [...] bigballofwax.co.nz> |
HI
Currently if you are trying to decode a MARC record that contains
fields that have a value, but do not exist you can run into errors
like this
Can't call method "data" on an undefined value at
/usr/local/share/perl/5.14.2/Catmandu/Importer/MARC.pm line 158.
I will submit a pull request on github with a patch for this.
Hope this is some help
Chris