Mark Stosberg > CGI-Application-PSGI-1.00 > CGI::Application::PSGI

Download:
CGI-Application-PSGI-1.00.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.00   Source  

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.

SEE ALSO ^

CGI::PSGI CGI::Application::PSGI

syntax highlighting: