Catmandu::Importer::SRU::Parser3pm
Package transforms sru responses into perl
Usage
package MyParser;use Moo;sub parse {my ($self,$record) = @_;my $schema = $record->{recordSchema};my $packing = $record->{recordPacking};my $data = $record->{recordData};... do some magic...return $perl_hash;}
Overview
Catmandu::Importer::SRU can optionally include a parser to transform the returned records from SRU requests. Any such parser needs to implement one instance method "parse" which receives an SRU-record and returns a perl hash.
Releases
6 releases since Debian 8 (Jessie); the text changed 4 times.