Man pages sections > man3 > Catmandu::Fix::Inline::marc_set

Catmandu::Fix::Inline::marc_set - A marc_set-er for Perl scripts

Catmandu::Fix::Inline::marc_set(3pm) User Contributed Perl Documentation Catmandu::Fix::Inline::marc_set(3pm)

NAME

Catmandu::Fix::Inline::marc_set - A marc_set-er for Perl scripts

SYNOPSIS

 use Catmandu::Fix::Inline::marc_set qw(:all);
 # Set to literal value
 my $data  = marc_set($data,'245[1]a', 'value');
 # Set to a copy of a deeply nested JSON path
 my $data  = marc_set($data,'245[1]a', '$.my.deep.field');

SEE ALSO

Catmandu::Fix::Inline::marc_add , Catmandu::Fix::Inline::marc_remove , Catmandu::Fix::Inline::marc_map
2016-02-22 perl v5.22.1