Catmandu::Fix::marc_remove - remove marc (sub)fields
# remove all marc 600 fields marc_remove('600') # remove the 245-a subfield marc_remove('245a')
Remove (sub)fields in a MARC record
Delete the (sub)fields from the MARC record as indicated by the MARC_PATH.
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');
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.