NAME
PICA::Writer::Plain - Plain PICA+ format serializer
SYNOPSIS
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 PICA::Data.
SEEALSO
The counterpart of this module is PICA::Parser::Plain.
See Catmandu::Exporter::PICA for usage of this module in Catmandu.
An alternative writer had been implemented as PICA::Writer included in the release of PICA::Record.