Jakob Voß
and 1 contributors

NAME

PICA::Writer::Plain - Plain PICA+ format serializer

VERSION

version 0.14

DESCRIPTION

    use PICA::Writer::Plain;

    my $fh = \*STDOUT; # filehandle or object with method print, e.g. IO::Handle
    my $writer = PICA::Writer::Plain->new( fh => $fh );

    foreach my $record (@pica_records) {
        $writer->write($record);
    }

METHODS

write ( @records )

Writes one or more records, given as hash with key 'record' or as array reference with a list of fields, as described in Catmandu::PICA.

SEEALSO

The counterpart of this module is PICA::Parser::Plus. An alternative writer, not aligned with the Catmandu framework, has been implemented as PICA::Writer included in the release of PICA::Record.

AUTHOR

Johann Rolschewski <rolschewski@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Johann Rolschewski.

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