Catmandu::Importer::SRU::Parser::raw - Package transforms SRU responses into a Perl hash
my %attrs = ( base => 'http://www.unicat.be/sru', query => '(isbn=0855275103 or isbn=3110035170 or isbn=9010017362 or isbn=9014026188)', recordSchema => 'marcxml' , parser => 'raw' , );
my $importer = Catmandu::Importer::SRU->new(%attrs);
Transforms each SRU record into a Perl hash containing the following fields:
* recordSchema - the SRU record schema (see: http://www.loc.gov/standards/sru/recordSchemas/index.html) * recordPacking - the SRU format (can be 'string' or 'xml') * recordPosition - the result number * recordData - the unparsed record payload
Patrick Hochstenbach, <patrick.hochstenbach at ugent.be>
<patrick.hochstenbach at ugent.be>
To install Catmandu::SRU, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::SRU
CPAN shell
perl -MCPAN -e shell install Catmandu::SRU
For more information on module installation, please visit the detailed CPAN module installation guide.