Skip to content
This repository
tag: 0.9938
Tatsuhiko Miyagawa September 25, 2009
file 7 lines (7 sloc) 0.262 kb
1 2 3 4 5 6 7
use CGI::PSGI;
sub {
    my $env = shift;
    my $query = CGI::PSGI->new($env);
# return [ 200, [ "Content-Type" => "text/plain" ], [ "Hello ", $query->param('name') ] ];
    return [ $query->psgi_header('text/plain'), [ "Hello ", $query->param('name') ] ];
}
Something went wrong with that request. Please try again.