Catmandu::Importer::SRU - Package that imports SRU data
use Catmandu::Importer::SRU; my %attrs = ( base => 'http://www.unicat.be/sru', query => '(isbn=0855275103 or isbn=3110035170 or isbn=9010017362 or isbn=9014026188)' ); my $importer = Catmandu::Importer::SRU->new(%attrs); my $n = $importer->each(sub { my $hashref = $_[0]; # ... }); `base` & `query` are required. `version` & `operation` have sensible defaults, '1.1' and 'searchRetrieve' respectively.
Catmandu::Iterable
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.