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
To install CGI::Application::PSGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Application::PSGI
CPAN shell
perl -MCPAN -e shell install CGI::Application::PSGI
For more information on module installation, please visit the detailed CPAN module installation guide.