SYNOPSIS

        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');

METHODS

This constructor method returns a new \*(C`HTTP::OAI::Header object\*(C'. Get and optionally set the record \s-1OAI\s0 identifier. Get and optionally set the record datestamp (\s-1OAI\s0 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 (\s-1OAI\s0 2.0+). Act as a \s-1SAX\s0 driver (use \*(C`$h->set_handler()\*(C' to specify the filter to pass events to).