1CGI::Application::PSGI(U3s)er Contributed Perl DocumentatCiGoIn::Application::PSGI(3)
2
3
4
6 CGI::Application::PSGI - PSGI Adapter for CGI::Application
7
9 ### In WebApp.pm
10 package WebApp;
11 use base qw(CGI::Application);
12
13 # Nothing needs to be changed
14
15 ### app.psgi
16 use CGI::Application::PSGI;
17 use WebApp;
18
19 my $handler = sub {
20 my $env = shift;
21 my $app = WebApp->new({ QUERY => CGI::PSGI->new($env) });
22 CGI::Application::PSGI->run($app);
23 };
24
26 CGI::Application::PSGI is a runner to run CGI::Application application
27 as a PSGI application.
28
30 Tatsuhiko Miyagawa <miyagawa@bulknews.net>
31
33 This library is free software; you can redistribute it and/or modify it
34 under the same terms as Perl itself.
35
37 CGI::PSGI CGI::Application::PSGI
38
39
40
41perl v5.32.0 2020-07-28 CGI::Application::PSGI(3)