/usr/share/perl5/SRU/Request/Explain.pm is in libsru-perl 1.01-2.
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 | package SRU::Request::Explain;
{
$SRU::Request::Explain::VERSION = '1.01';
}
#ABSTRACT: A class for representing SRU explain requests
use strict;
use warnings;
use base qw( Class::Accessor SRU::Request );
use SRU::Utils qw( error );
sub new {
my ($class,%args) = @_;
return SRU::Request::Explain->SUPER::new( \%args );
}
my @validParams = qw(
version
recordPacking
stylesheet
extraRequestData
);
# no pod since this is used in SRU::Request
sub validParams { return @validParams };
SRU::Request::Explain->mk_accessors( @validParams, 'missingOperator' );
1;
__END__
=pod
=head1 NAME
SRU::Request::Explain - A class for representing SRU explain requests
=head1 SYNOPSIS
## creating a new request
my $request = SRU::Request::Explain->new();
=head1 DESCRIPTION
SRU::Request::Explain is a class for representing SRU 'explain' requests.
Explain requests essentially ask the server to describe its services.
=head1 METHODS
=head2 new()
The constructor, which you can pass the optional parameters parameters:
version, recordPacking, stylesheet, and extraRequestData parameters.
my $request = SRU::Request::Explain->new(
version => '1.1',
stylesheet => 'http://www.example.com/styles/mystyle.xslt'
);
Normally you'll probably want to use the factory SRU::Response::newFromURI
to create requests, instead of calling new() yourself.
=cut
=head2 version()
=head2 recordPacking()
=head2 stylesheet()
=head2 extraRequestData()
=cut
=head2 validParams()
=cut
=head1 COPYRIGHT AND LICENSE
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.
=cut
|