Scroll to navigation

Catmandu::Importer::SRU::Parser::raw(3pm) User Contributed Perl Documentation Catmandu::Importer::SRU::Parser::raw(3pm)

NAME

Catmandu::Importer::SRU::Parser::raw - Package transforms SRU responses into a Perl hash

SYNOPSIS

  my $importer = Catmandu::Importer::SRU->new(
    base => 'http://www.unicat.be/sru',
    query => '(isbn=0855275103 or isbn=3110035170 or isbn=9010017362 or isbn=9014026188)',
    recordSchema => 'marcxml',
    parser => 'raw',
  );

DESCRIPTION

Transforms each SRU record into a Perl hash containing the following fields:

the SRU record schema <http://www.loc.gov/standards/sru/recordSchemas/>
the SRU format (can be 'string' or 'xml')
the result number
the unparsed record payload

SEE ALSO

Catmandu::Importer::SRU::Parser::meta

AUTHOR

Patrick Hochstenbach, "<patrick.hochstenbach at ugent.be>"

2020-04-02 perl v5.30.0