Catmandu::Fix::marc_xml - transform a Catmandu MARC record into MARCXML
# Transforms the 'record' key into a MARCXML string marc_xml('record')
Convert MARC data into a MARCXML string
Transform the MARC record found at PATH to MARC XML.
This Fix can be used inline in a Perl script:
use Catmandu::Fix::marc_xml as => 'marc_xml'; my $data = { record => [...] }; $data = marc_xml($data);
Catmandu::Fix
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.