View on
MetaCPAN
Patrick Hochstenbach > Catmandu-MARC > Catmandu::Fix::marc_remove

Download:
Catmandu-MARC-1.18.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.18   Source  

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)

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::marc_add, Catmandu::Fix::marc_copy, Catmandu::Fix::marc_cut, Catmandu::Fix::marc_paste, Catmandu::Fix::marc_set

syntax highlighting: