Catmandu::Fix::marc_add - add new fields to marc
# Set literal values marc_add('900', a, 'test' , 'b', test) marc_add('900', ind1 , ' ' , a, 'test' , 'b', test) marc_add('900', ind1 , ' ' , a, 'test' , 'b', test , record:record2) # Copy data from an other field (when the field value is an array, the # subfield will be repeated) marc_add('900', a, '$.my.data.field')
Add a new subfield to MARC record.
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.