PICA::Writer::Plain - Plain PICA+ format serializer
version 0.04
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); }
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.
record
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.
Johann Rolschewski <rolschewski@gmail.com>
This software is copyright (c) 2013 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.
To install Catmandu::PICA, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::PICA
CPAN shell
perl -MCPAN -e shell install Catmandu::PICA
For more information on module installation, please visit the detailed CPAN module installation guide.