The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catmandu::Exporter::MARC - Exporter for MARC records

SYNOPSIS

    # From the command line
    $ catmandu convert MARC --type ISO to MARC --type XML < /foo/bar.mrc

    # From Perl
    use Catmandu;

    my $importer = Catmandu->importer('MARC', file => "/foo/bar.mrc" , type => 'ISO');
    my $exporter = Catmandu->exporter('MARC', file => "marc.xml", type => "XML" );

    $exporter->add($importer);
    $exporter->commit;

DESCRIPTION

Catmandu::Exporter::MARC is a Catmandu::Exporter to serialize (write) MARC records to a file or the standard output.

CONFIGURATION

In addition to the configuration provided by Catmandu::Exporter (file, fh, etc.) the exporter can be configured with the following parameters:

The 'type' parameter describes the MARC syntax variant. Supported values include:

    E.g.

    catmandu convert MARC --type XML to MARC --type ISO < marc.xml > marc.iso

SEE ALSO

Catmandu::Importer::MARC