CGI::Stateless - Make CGI.pm stateless for use in persistent environment
This document describes CGI::Stateless version v2.0.1
use CGI::Stateless;
# When new request come in FastCGI-like persistent environment:
local *STDIN;
open STDIN, '<', \$stdin or die "open STDIN: $!\n";
local %ENV = %env;
local $CGI::Q = CGI::Stateless->new();
# Now you can AGAIN call CGI.pm methods like CGI::param(), etc.
Force CGI.pm to parse %ENV and STDIN AGAIN in FastCGI-like persistent script.
Use it just like shown in SYNOPSIS, there no other use.
Please report any bugs or feature requests through the issue tracker at https://github.com/powerman/perl-CGI-Stateless/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license. Feel free to fork the repository and submit pull requests.
https://github.com/powerman/perl-CGI-Stateless
git clone https://github.com/powerman/perl-CGI-Stateless.git
-
MetaCPAN Search
-
CPAN Ratings
-
AnnoCPAN: Annotated CPAN documentation
-
CPAN Testers Matrix
-
CPANTS: A CPAN Testing Service (Kwalitee)
Alex Efros powerman@cpan.org
This software is Copyright (c) 2009- by Alex Efros powerman@cpan.org.
This is free software, licensed under:
The MIT (X11) License