Scroll to navigation

Catmandu::Fix::marc_decode_dollar_subfields(3pm) User Contributed Perl Documentation Catmandu::Fix::marc_decode_dollar_subfields(3pm)

NAME

Catmandu::Fix::marc_decode_dollar_subfields - decode double encoded dollar subfields

SYNOPSIS

    marc_decode_dollar_subfields()

DESCRIPTION

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.

METHODS

marc_decode_dollar_subfields()

Decode double encoded dollar subfields into real MARC subfields.

INLINE

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);

SEE ALSO

Catmandu::Fix
2019-02-25 perl v5.28.1