LibreCat / Catmandu-MARC

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

MARCXML problem #67

Closed cKlee closed 7 years ago

cKlee commented 7 years ago

With prove I get the following warning:

t/04-marc21.t ........................ Use of uninitialized value in concatenation (.) or string at ~/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/MARC/File/XML.pm line 397, <GEN0> chunk 3.

Same warning pops up when trying to convert:

catmandu convert MARC --type XML --fix "marc_map(022$a, issn); retain(issn)" < marc.xml
...
{"issn":"0176-9820"},
{"iUse of uninitialized value in concatenation (.) or string at ~/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/MARC/File/XML.pm line 397, <GEN0> chunk 2047.
ssn":"0340-3297"},
...
jorol commented 7 years ago

Already fixed in #22, but no new release of MARC::XML yet. I will ask Galen to release a new version.