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

NAME

MARC::Moose::Writer - A base object to write somewhere MARC::Moose records

VERSION

version 0.020

ATTRIBUTES

count

Number of records that have been written with write method.

formater

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

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) 2012 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.