NAME
CGI::Application::PSGI - PSGI Adapter for CGI::Application
SYNOPSIS
### 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);
};
DESCRIPTION
CGI::Application::PSGI is a runner to run CGI::Application application as a PSGI application.
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.