logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Exporter::MARC::ALEPHSEQ - Exporter for MARC records to Ex Libris' Aleph sequential

Configuration

       file
           Write  output to a local file given by its path or file handle.  Alternatively a scalar reference can
           be passed to write to a string and a code reference can be used to write to a callback function.

       fh  Write the output to an IO::Handle. If not specified, Catmandu::Util::io is used to create the  output
           handle from the "file" argument or by using STDOUT.

       fix An ARRAY of one or more fixes or file scripts to be applied to exported items.

       encoding
           Binmode of the output stream "fh". Set to "":utf8"" by default.

       default_fmt
           Set the value of the default "FMT" field when none is given. Set to "BK" by default.

Methods

       See Catmandu::Exporter, Catmandu::Addable, Catmandu::Fixable, Catmandu::Counter, and Catmandu::Logger for
       a full list of methods.

Name

       Catmandu::Exporter::MARC::ALEPHSEQ - Exporter for MARC records to Ex Libris' Aleph sequential

See Also

       Catmandu::Exporter

perl v5.38.2                                       2024-08-03             Catmandu::Expor...:MARC::ALEPHSEQ(3pm)

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 => 'ISO');
           my $exporter = Catmandu->exporter('MARC', file => "marc.txt", type => 'ALEPHSEQ' );

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

See Also