NAME
Plack::Server::CGI
VERSION
version 0.01
SYNOPSIS
## in your .cgi
#!/usr/bin/perl
use Plack::Server::CGI;
# or Plack::Util::load_psgi("/path/to/app.psgi");
my $app = sub {
my $env = shift;
return [
200,
[ 'Content-Type' => 'text/plain', 'Content-Length' => 13 ],
'Hello, world!',
];
};
Plack::Server::CGI->new->run($app);
SEE ALSO
AUTHOR
Al Newkirk <awncorp@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by awncorp.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.