File Coverage

lib/Egg/Request/Apache/MP19.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             package Egg::Request::Apache::MP19;
2             #
3             # Masatoshi Mizuno E<lt>lusheE<64>cpan.orgE<gt>
4             #
5             # $Id: MP19.pm 337 2008-05-14 12:30:09Z lushe $
6             #
7 1     1   652 use strict;
  1         2  
  1         38  
8 1     1   7 use warnings;
  1         4  
  1         39  
9 1     1   492 use Apache2 ();
  0            
  0            
10             use Apache::Request ();
11             use Apache::RequestRec ();
12             use Apache::RequestIO ();
13             use Apache::RequestUtil ();
14             use Apache::Compat ();
15             use base qw/ Egg::Request::Apache /;
16              
17             our $VERSION= '3.00';
18              
19             sub new {
20             my($class, $e, $r)= @_;
21             my $req = $class->SUPER::new($e);
22             my $conf= $req->e->config->{request} ||= {};
23             $req->r( Apache::Request->new($r, %$conf) );
24             $req;
25             }
26              
27             1;
28              
29             __END__
30              
31             =head1 NAME
32              
33             Egg::Request::Apache::MP19 - mod_perl1.9x for Egg request.
34              
35             =head1 DESCRIPTION
36              
37             It is a request class for mod_perl1.9x.
38              
39             This module is read by the automatic operation if L<Egg::Request> investigates
40             the environment and it is necessary. Therefore, it is not necessary to read
41             specifying it.
42              
43             =head1 METHODS
44              
45             =head2 new
46              
47             The object is received from the constructor of the succession class,
48             and L<Apache::Request> object is defined in 'r' method.
49              
50             =head1 SEE ALSO
51              
52             L<Apache2::Request>,
53             L<Egg::Request>,
54             L<Egg::Request::Apache>,
55             L<Egg::Release>,
56              
57             =head1 AUTHOR
58              
59             Masatoshi Mizuno E<lt>lusheE<64>cpan.orgE<gt>
60              
61             =head1 COPYRIGHT
62              
63             Copyright (C) 2007 by Bee Flag, Corp. E<lt>L<http://egg.bomcity.com/>E<gt>.
64              
65             This library is free software; you can redistribute it and/or modify
66             it under the same terms as Perl itself, either Perl version 5.8.6 or,
67             at your option, any later version of Perl 5 you may have available.
68              
69             =cut