The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Catmandu::Fix::pica_remove - remove PICA (sub)fields

SYNOPSIS

    # remove all 041A subject fields
    pica_remove(041A)

    # remove all $9 subfields from all level 0 fields
    pica_remove('0...$9')
    
    # remove all fields, resulting in an empty record
    pica_remove()

FUNCTIONS

pica_remove([PATH])

Delete all (sub)fields from the PICA record, referenced by a PICA Path expression. Fields are also removed if all subfields have been removed.

SEE ALSO

PICA::Path, Catmandu::Fix::pica_keep