NAME

Nile::HTTP::PSGI - Enable your CGI::Simple aware applications to adapt PSGI protocol

VERSION

0.001_002

SYNOPSIS

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 ] ];
}

DESCRIPTION

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.

AUTHOR

MIZUTANI Tociyuki tociyuki@google.com. 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

Nile CGI::Simple CGI::PSGI