Catmandu::Fix::marc_append - add a value at the end of a MARC field
Contents
Description
Append a value at the end of a MARC (sub)field
Inline
This Fix can be used inline in a Perl script:
use Catmandu::Fix::marc_append as => 'marc_append';
my $data = { record => [...] };
$data = marc_append($data, '100', '.');
Methods
marc_append(MARC_PATH,VALUE)
For each (sub)field matching the MARC_PATH append the VALUE to the last subfield. This value can be a
literal or reference an existing field in the record using the dollar JSON_PATH syntax.
Name
Catmandu::Fix::marc_append - add a value at the end of a MARC field
See Also
Catmandu::Fix
perl v5.38.2 2024-08-03 Catmandu::Fix::marc_append(3pm)
Synopsis
# Append a period at the end of the 100 field
marc_append(100,".")
