Catmandu::Fix::marc_decode_dollar_subfields(3pm) | User Contributed Perl Documentation | Catmandu::Fix::marc_decode_dollar_subfields(3pm) |
Catmandu::Fix::marc_decode_dollar_subfields - decode double encoded dollar subfields
marc_decode_dollar_subfields()
In some environments MARC subfields can contain data values that can be interpreted as subfields itself. E.g. when the 245-$a subfield contains the data:
My Title $h subsubfield
then the $h = subsubfield will not be accessible with normal MARC processing tools. Use the 'marc_decode_dollar_subfields()' fix to re-evaluate all the MARC subfields for these hidden data.
Decode double encoded dollar subfields into real MARC subfields.
This Fix can be used inline in a Perl script:
use Catmandu::Fix::marc_decode_dollar_subfields as => 'marc_decode_dollar_subfields'; my $data = { record => [...] }; $data = marc_decode_dollar_subfields($data);
Catmandu::Fix
2022-09-27 | perl v5.34.0 |