NAME
Catmandu::Fix::pica_set - sets a new value to an existing subfield
SYNOPSIS
# 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');
DESCRIPTION
This fix sets the value from PATH to a subfield defined through PICA_PATH.
FUNCTIONS
pica_set(PATH, PICA_PATH, [OPT1])
Options
record - alternative record key (default is 'record')
SEE ALSO
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.