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
To install Catmandu::MARC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::MARC
CPAN shell
perl -MCPAN -e shell install Catmandu::MARC
For more information on module installation, please visit the detailed CPAN module installation guide.