HTTP::OAI::Header - Encapsulates an OAI header structure
use HTTP::OAI::Header; my $h = new HTTP::OAI::Header( identifier=>'oai:myarchive.org:2233-add', datestamp=>'2002-04-12T20:31:00Z', ); $h->setSpec('all:novels');
This constructor method returns a new HTTP::OAI::Header object.
HTTP::OAI::Header object
Get and optionally set the record OAI identifier.
Get and optionally set the record datestamp (OAI 2.0+).
Get and optionally set the record status (valid values are 'deleted' or undef).
Returns whether this record's status is deleted.
Returns the list of setSpecs and optionally appends a new setSpec $setSpec (OAI 2.0+).
$setSpec
Act as a SAX driver (use $h->set_handler() to specify the filter to pass events to).
$h->set_handler()
To install HTTP::OAI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::OAI
CPAN shell
perl -MCPAN -e shell install HTTP::OAI
For more information on module installation, please visit the detailed CPAN module installation guide.