Added recursive -r flag to prove example
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / FastCGI / APR.pm
1 package Catalyst::Engine::FastCGI::APR;
2
3 use strict;
4 use base qw(Catalyst::Engine::FastCGI::Base Catalyst::Engine::CGI::APR);
5
6 =head1 NAME
7
8 Catalyst::Engine::FastCGI::APR - Catalyst FastCGI APR Engine
9
10 =head1 SYNOPSIS
11
12 A script using the Catalyst::Engine::FastCGI::APR module might look like:
13
14     #!/usr/bin/perl -w
15
16     BEGIN { 
17        $ENV{CATALYST_ENGINE} = 'FastCGI::APR';
18     }
19
20     use strict;
21     use lib '/path/to/MyApp/lib';
22     use MyApp;
23
24     MyApp->run;
25
26 =head1 DESCRIPTION
27
28 This is the Catalyst engine for FastCGI and APR.
29
30 =head1 OVERLOADED METHODS
31
32 This class overloads some methods from C<Catalyst::Engine::FastCGI::Base>.
33
34 =over 4
35
36 =item $c->prepare_body
37
38 =cut
39
40 sub prepare_body { 
41     shift->Catalyst::Engine::CGI::APR::prepare_body(@_);
42 }
43
44 =item $c->prepare_parameters
45
46 =cut
47
48 sub prepare_parameters { 
49     shift->Catalyst::Engine::CGI::APR::prepare_parameters(@_);
50 }
51
52 =item $c->prepare_request
53
54 =cut
55
56 sub prepare_request {
57     my ( $c, $fastcgi, @arguments ) = @_;
58     $c->SUPER::prepare_request($fastcgi);
59     $c->Catalyst::Engine::CGI::APR::prepare_request(@arguments);
60 }
61
62 =item $c->prepare_uploads
63
64 =cut
65
66 sub prepare_uploads { 
67     shift->Catalyst::Engine::CGI::APR::prepare_uploads(@_);
68 }
69
70 =back
71
72 =head1 SEE ALSO
73
74 L<Catalyst>, L<Catalyst::Engine::FastCGI::Base>, L<Catalyst::Engine::CGI::APR>.
75
76 =head1 AUTHOR
77
78 Sebastian Riedel, C<sri@cpan.org>
79 Christian Hansen, C<ch@ngmedia.com>
80
81 =head1 COPYRIGHT
82
83 This program is free software, you can redistribute it and/or modify it under
84 the same terms as Perl itself.
85
86 =cut
87
88 1;