in reply to Re^2: Populate CGI from HTTP::Request wo/ using %ENV ?
in thread Populate CGI from HTTP::Request wo/ using %ENV ?

You can skip the temp:
local *ENV = { %ENV };

Just to be clear, child processes and forks won't see any change made to %ENV while this local is in effect.