- COPYRIGHT AND LICENSE
SRU::Request - Factories for creating SRU request objects.
use SRU::Request; my $request = SRU::Request->newFromURI( $uri );
SRU::Request allows you to create the appropriate SRU request object from a URI object. This allows you to pass in a URI and get back one of SRU::Request::Explain, SRU::Request::Scan or SRU::Request::SearchRetrieve depending on the type of URI that is passed in. See the docs for those classes for more information about what they contain.
Create a new request object which is one of:
If the request is not formatted properly the call will return undef. The error encountered should be available in $SRU::Error.
Deprecated aliases for
Used to generate <echoedExplainRequest>, <echoedSearchRetrieveRequest> and <echoedScanRequest> elements in the response.
Returns 'searchRetrieve', 'scan' or 'explain' depending on what type of object it is.
This software is copyright (c) 2013 by Ed Summers.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.