1CGI::Application::FastCUGsIe(r3)Contributed Perl DocumenCtGaIt:i:oAnpplication::FastCGI(3)
2
3
4

NAME

6       CGI::Application::FastCGI - for using CGI::Application under FastCGI
7

SYNOPSIS

9         # In "WebApp.pm"...
10         package WebApp;
11         use base qw(CGI::Application::FastCGI);
12         sub setup {
13           ...
14         }
15         1;
16
17         # In "webapp.fcgi"...
18         use WebApp;
19         my $webapp = WebApp->new;
20         $webapp->run;
21

DESCRIPTION

23       Inherit this module instead of CGI::Application if you want to run your
24       cgi programs based on CGI::Application under FastCGI.
25

NOTES

27       Note that cgiapp_init() will be called only once under lifecycle of
28       FastCGI. setup() will also only be called once. (you should not be
29       doing magical things in 'setup'.) So if you want to do something for
30       every REQUESTS, you should write the logic in cgiapp_prerun().
31

SEE ALSO

33       CGI::Application, FCGI
34

AUTHOR

36       Naoya Ito <naoya@naoya.dyndns.org>
37
38       This library is free software; you can redistribute it and/or modify it
39       under the same terms as Perl itself.
40
41
42
43perl v5.34.0                      2022-01-20      CGI::Application::FastCGI(3)
Impressum