Nile::HTTP::PSGI - Enable your CGI::Simple aware applications to adapt PSGI protocol
0.001_002
use Nile::HTTP::PSGI; sub app { my $env = shift; # set CGI::Simple's global control variables local $CGI::Simple::DISABLE_UPLOADS = 0; # enable upload local $CGI::Simple::POST_MAX = 1024; # max size on POST my $q = Nile::HTTP::PSGI->new($env); return [ $q->psgi_header, [ $body ] ]; }
This module extends CGI::Simple to use in some web applications under the PSGI servers. This is a experimental branch from CGI::PSGI module for CGI by Tatsuhiko Miyagawa.
MIZUTANI Tociyuki tociyuki@google.com. Tatsuhiko Miyagawa <miyagawa@bulknews.net>
tociyuki@google.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Nile CGI::Simple CGI::PSGI
To install Nile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nile
CPAN shell
perl -MCPAN -e shell install Nile
For more information on module installation, please visit the detailed CPAN module installation guide.