http://www.perlmonks.org?node_id=673125

renodino has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone know of a package I might cheat from to create a CGI subclass that gets populated directly from an HTTP::Request without using %ENV ? (I've seen HTTP::Request::AsCGI, but it appears to use %ENV to convey the values).

FWIW: I'm trying to build a CGI adapter for HTTP::Daemon::Threaded, but can't use %ENV, since modifying it in one thread would trash the values in the other active request threads. At present, it appears I have to re-implement big chunks of CGI.pm...and its some rather "interesting" code that I'd prefer to leave alone.


Perl Contrarian & SQL fanboy