/usr/lib/perl5/APR/Request.pm is in libapache2-request-perl 2.13-3ubuntu2.
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 | #
# /*
# * *********** WARNING **************
# * This file generated by My::WrapXS/2.13
# * Any changes made here will be lost
# * ***********************************
# * 1. /usr/share/perl5/ExtUtils/XSBuilder/WrapXS.pm:52
# * 2. /usr/share/perl5/ExtUtils/XSBuilder/WrapXS.pm:2069
# * 3. Makefile.PL:193
# */
#
package APR::Request;
require DynaLoader ;
use strict;
use warnings FATAL => 'all';
use vars qw{$VERSION @ISA} ;
push @ISA, 'DynaLoader' ;
$VERSION = '2.13';
bootstrap APR::Request $VERSION ;
use APR::Pool;
use APR::BucketAlloc;
sub import {
my $class = shift;
return unless @_;
my $pkg = caller;
no strict 'refs';
for (@_) {
*{"$pkg\::$_"} = $class->can($_)
or die "Can't find method $_ in class $class";
}
}
sub param_status {
my $req = shift;
return $req->args_status || $req->body_status if wantarray;
return ($req->args_status, $req->body_status);
}
sub upload {
require APR::Request::Param;
my $req = shift;
my $body = $req->body or return;
my $uploads = $body->uploads($req->pool);
$uploads->param_class("APR::Request::Param");
return $uploads->get(@_) if @_;
return keys %$uploads if wantarray;
return $uploads;
}
package APR::Request::Custom;
our @ISA = qw/APR::Request/;
package APR::Request::Cookie::Table;
sub EXISTS {
my ($t, $key) = @_;
return defined $t->FETCH($key);
}
package APR::Request::Param::Table;
sub EXISTS {
my ($t, $key) = @_;
return defined $t->FETCH($key);
}
1;
__END__
|