/usr/share/perl5/HTTP/OAI.pm is in libhttp-oai-perl 3.27-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | package HTTP::OAI;
use strict;
our $VERSION = '3.27';
# perlcore
use Carp;
use Encode;
# http related stuff
use URI;
use HTTP::Headers;
use HTTP::Request;
use HTTP::Response;
# xml related stuff
use XML::SAX;
use XML::SAX::ParserFactory;
use XML::LibXML;
use XML::LibXML::SAX;
use XML::LibXML::SAX::Parser;
use XML::LibXML::SAX::Builder;
# debug
use HTTP::OAI::Debug;
# oai data objects
use HTTP::OAI::Encapsulation; # Basic XML handling stuff
use HTTP::OAI::Metadata; # Super class of all data objects
use HTTP::OAI::Error;
use HTTP::OAI::Header;
use HTTP::OAI::MetadataFormat;
use HTTP::OAI::Record;
use HTTP::OAI::ResumptionToken;
use HTTP::OAI::Set;
# parses OAI headers and other utility bits
use HTTP::OAI::Headers;
# generic superclasses
use HTTP::OAI::Response;
use HTTP::OAI::PartialList;
# oai verbs
use HTTP::OAI::GetRecord;
use HTTP::OAI::Identify;
use HTTP::OAI::ListIdentifiers;
use HTTP::OAI::ListMetadataFormats;
use HTTP::OAI::ListRecords;
use HTTP::OAI::ListSets;
# oai agents
use HTTP::OAI::UserAgent;
use HTTP::OAI::Harvester;
use HTTP::OAI::Repository;
$HTTP::OAI::Harvester::VERSION = $VERSION;
if( $ENV{HTTP_OAI_TRACE} )
{
HTTP::OAI::Debug::level( '+trace' );
}
if( $ENV{HTTP_OAI_SAX_TRACE} )
{
HTTP::OAI::Debug::level( '+sax' );
}
1;
__END__
=head1 NAME
HTTP::OAI - API for the OAI-PMH
=head1 DESCRIPTION
This is a stub module, you probably want to look at
L<HTTP::OAI::Harvester|HTTP::OAI::Harvester> or
L<HTTP::OAI::Repository|HTTP::OAI::Repository>.
=head1 SEE ALSO
You can find links to this and other OAI tools (perl, C++, java) at:
http://www.openarchives.org/tools/tools.html.
Ed Summers L<Net::OAI::Harvester> module.
=head1 AUTHOR
Copyright 2004-2010 Tim Brody <tdb2@ecs.soton.ac.uk>, University of
Southampton.
This module is free software and is released under the BSD License (see
LICENSE).
|