LibreCat / Catmandu-MARC

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

Catmandu::MARC::marc_map: Undef values when using $append & split #63

Closed cKlee closed 7 years ago

cKlee commented 7 years ago

With

catmandu convert MARC --fix "marc_map(100a,contrib.$append, split:1); retain_field(contrib)" < perl_books.mrc

when field 100 does not exist. Result is

{"contrib":[null]}

Patch see https://github.com/LibreCat/Catmandu-MARC/pull/62

phochste commented 7 years ago

Thanks, patched in #66