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


in reply to Deleting windows environment variables

Instead of looking for what to delete, why not keep only what you want ?

BEGIN { my %e = %ENV; %ENV = ( PATH_INFO => $e{PATH_INFO}, QUERY_STRING => $e{QUERY_STRING}, REMOTE_ADDR => $e{REMOTE_ADDR}, etc... ); }

He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/