|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^2: Populate CGI from HTTP::Request wo/ using %ENV ?by ikegami (Pope) |
| on Mar 09, 2008 at 22:33 UTC ( #673142=note: print w/ replies, xml ) | Need Help?? |
|
local %ENV doesn't remove the magic attached to %ENV, so changes to %ENV still affect every thread, so the race condition remains.
That's why I suggested local *ENV instead. Then modifying %ENV doesn't change the processes environment. Update: Added illustration of two race conditions.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||