LibreCat / Catmandu-MARC

Catmandu modules for working with MARC data
https://metacpan.org/release/Catmandu-MARC
Other
8 stars 10 forks source link

marc_remove() in marc_each generates parsing errors #37

Closed phochste closed 8 years ago

phochste commented 8 years ago

With the fix:

do marc_each() if marc_match(245a,'.*') marc_remove(245) end end

generates error:

Oops! One of your fixes threw an error... Source: Catmandu::Fix::Bind::marc_each=HASH(0x4c0a180) Error: Can't use an undefined value as an ARRAY reference at /opt/lludss-import/local/lib/perl5/Catmandu/Fix/Bind/marc_each.pm line 33, line 8.

jorol commented 8 years ago

Fixed in pr #38.

phochste commented 8 years ago

Thanks!