The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catmandu::Fix::marc_remove - remove marc (sub)fields

SYNOPSIS

    # remove all marc 600 fields
    marc_remove('600')

    # remove the 245-a subfield
    marc_remove('245a')

DESCRIPTION

Remove (sub)fields in a MARC record

METHODS

marc_remove( MARC_PATH , [OPT1:VAL, OPT2: VAL])

Delete the (sub)fields from the MARC record as indicated by the MARC_PATH.

INLINE

This Fix can be used inline in a Perl script:

    use Catmandu::Fix::marc_remove as => 'marc_remove';

    my $data = { record => [...] };

    $data = marc_remove($data,'600');

SEE ALSO

Catmandu::Fix