View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Frédéric Demians > marc-moose-1.0.38 > MARC::Moose::Writer

Download:
marc-moose-1.0.38.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 1.0.38   Source  

NAME ^

MARC::Moose::Writer - A Moose::Role to write somewhere MARC::Moose records

VERSION ^

version 1.0.38

ATTRIBUTES ^

formater

A MARC::Moose::Formater to be used to format records to write. By defaut, it's a MARC::Moose::Formater::Text formater.

fh

A file handle to which writing records. This can be a string with:

  open my $fh, ">", \$str;

METHODS ^

begin

Method to be call before beginning writing record with write method. By default, this is just a call to the formater begin method.

end

Method to be call at the end of the writing process, afet the last record has been written, the last call to write. By default, this is just a call to the formater end method.

write($record)

Write MARC::Moose::Record $record into whatever data stream, a file, a socket, etc. It uses the formater to format the record. In this base class, the record is printed on STDOUT.

AUTHOR ^

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2018 by Frédéric Demians.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: