NAME
PICA::Parser::Plus - Normalized PICA+ format parser
SYNOPSIS
use PICA::Parser::Plus;
my $parser = PICA::Parser::Plus->new( $filename );
while ( my $record_hash = $parser->next ) {
# do something
}
METHODS
new( $input )
Initialize parser to read from a given file, handle (e.g. IO::Handle), or string reference.
next
Reads the next PICA+ record. Returns a hash with keys _id
and record
.
next_record
Reads the next PICA+ record. Returns an array of field arrays.
SEEALSO
The counterpart of this module is PICA::Writer::Plus.
See Catmandu::Importer::PICA for usage of this module in Catmandu.
An alternative writer had been implemented as PICA::PlainParser included in the release of PICA::Record.