Catmandu::Exporter::MARC - Exporter for MARC records
# From the command line $ catmandu convert MARC --type USMARC to MARC --type XML < /foo/bar.mrc # From Perl use Catmandu; my $importer = Catmandu->importer('MARC', file => "/foo/bar.mrc" , type => 'USMARC'); my $exporter = Catmandu->exporter('MARC', file => "marc.xml", type => "XML" ); $exporter->add($importer); $exporter->commit;
Create a new Catmandu::Exporter which serializes MARC records into a $file. Type describes the MARC serializer to be used. Currently we support:
Read the documentation of the parser modules for extra configuration options.
Catmandu::Exporter
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.