CGI::Application::PSGI - PSGI Adapter for CGI::Application
### In WebApp.pm
package WebApp;
use base qw(CGI::Application);
# Nothing needs to be changed
### app.psgi
use CGI::Application::PSGI;
use WebApp;
my $handler = sub {
my $env = shift;
my $app = WebApp->new({ QUERY => CGI::PSGI->new($env) });
CGI::Application::PSGI->run($app);
};
CGI::Application::PSGI is a runner to run CGI::Application application as a PSGI
application.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
CGI::PSGI CGI::Application::PSGI