Catmandu::Fix::pica_set - sets a new value to an existing subfield
# Set value of dc.identifier as new value for subfield 0 in PICA field 003A pica_set('dc.identifier', '003A$0'); # same as above, but use another record path ('pica') pica_set('dc.identifier', '003A$0', record:'pica');
This fix sets the value from PATH to a subfield defined through PICA_PATH.
record - alternative record key (default is 'record')
See Catmandu::Fix::pica_add for adding new fields and subfields to a PICA record.
See Catmandu::Fix::pica_map if you want to copy values from a PICA record.
See PICA::Path for a definition of PICA path expressions and PICA::Data for more methods to process parsed PICA+ records.
To install Catmandu::PICA, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::PICA
CPAN shell
perl -MCPAN -e shell install Catmandu::PICA
For more information on module installation, please visit the detailed CPAN module installation guide.