NAME

CGI::Stateless - Make CGI.pm stateless for use in persistent environment

VERSION

This document describes CGI::Stateless version v2.0.1

SYNOPSIS

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.

DESCRIPTION

Force CGI.pm to parse %ENV and STDIN AGAIN in FastCGI-like persistent script.

INTERFACE

Use it just like shown in SYNOPSIS, there no other use.

SUPPORT

Bugs / Feature Requests

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.

Source Code

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

Resources

AUTHOR

Alex Efros <powerman@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2009- by Alex Efros <powerman@cpan.org>.

This is free software, licensed under:

The MIT (X11) License