HTTP::Server::Simple::CGI::Simple - use CGI::Simple instead of CGI.pm
Version 0.01
HTTP::Server::Simple::CGI provides a CGI.pm object to the request handler. CGI::Simple is a purely object oriented replacement for CGI.pm that does away with a lot of historical baggage including HTML generation methods.
Use this module to provide a CGI::Simple object to the request handler.
use HTTP::Server::Simple::CGI::Simple; my $foo = HTTP::Server::Simple::CGI::Simple->new(); ...
Sets up the environment (copied verbatim from HTTP::Server::Simple::CGI).
HTTP::Server::Simple::CGI
Subclasses must implement handle_request. The default implementation provided in this module dies and sends a 500 Internal Server Error status.
handle_request
die
500 Internal Server Error
Creates a new CGI::Simple object and invokes handle_request in an eval.
CGI::Simple
eval
This module removes the call to CGI::initialize_globals.
CGI::initialize_globals
Sets up the environment from meta data (copied verbatim from HTTP::Server::Simple::CGI).
HTTP::Server::Simple, HTTP::Server::Simple::CGI
A. Sinan Unur, <nanis at cpan.org>
<nanis at cpan.org>
Please report any bugs or feature requests to bug-http-server-simple-cgi-simple at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTTP-Server-Simple-CGI-Simple. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-http-server-simple-cgi-simple at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc HTTP::Server::Simple::CGI::Simple
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-Server-Simple-CGI-Simple
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/HTTP-Server-Simple-CGI-Simple
CPAN Ratings
http://cpanratings.perl.org/d/HTTP-Server-Simple-CGI-Simple
Search CPAN
http://search.cpan.org/dist/HTTP-Server-Simple-CGI-Simple/
Copyright 2010 A. Sinan Unur.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install HTTP::Server::Simple::CGI::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Server::Simple::CGI::Simple
CPAN shell
perl -MCPAN -e shell install HTTP::Server::Simple::CGI::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.