Catmandu::Exporter::MARC::ALEPHSEQ(3) Exporter for MARC records to Ex Libris' Aleph sequential

SYNOPSIS


# From the command line
$ catmandu convert MARC to MARC --type ALEPHSEQ < /foo/data.mrc
# From Perl
use Catmandu;
my $importer = Catmandu->importer('MARC', file => "/foo/bar.mrc" , type => 'USMARC');
my $exporter = Catmandu->exporter('MARC', file => "marc.txt", type => 'ALEPHSEQ' );
$exporter->add($importer);
$exporter->commit;

METHODS

new(file => $file , %opts)

Create a new Catmandu::Exporter to serialize MARC record into Aleph sequential. Provide the path of a $file to write exported records to. Optionally the following parameters can be specified:

        record : the key containing the marc record (default: 'record')
        record_format : optionally set to 'MARC-in-JSON' when the input format is in MARC-in-JSON
        skip_empty_subfields : skip fields which don't contain any data (default: false)

INHERTED METHODS

count

add($hashref)

add_many($array)

add_many($iterator)

add_many(sub {})

...

All the Catmandu::Exporter methods are inherited.