Catmandu::Fix::Inline::marc_add- A marc_add-er for Perl scripts
use Catmandu::Fix::Inline::marc_add qw(:all); # Set to a literal value my $data = marc_add($data, '245', a => 'value'); # Set to a copy of a deeply nested JSON path my $data = marc_add($data, '245', a => '$.my.deep.field');
Catmandu::Fix::Inline::marc_set , Catmandu::Fix::Inline::marc_map , Catmandu::Fix::Inline::marc_remove
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.