in reply to Package Globals and mod_perl
First of all each script is created in its own namespace. So one script's package globals should not interfere with anther if you don't influence variables in packages.
But if, as above, you influence a variable in another package, then you can get conflicts. To make this not a problem you can use local. As in:
Then when your script runs it will properly localize its effects.local $CGI::DISABLE_UPLOADS = 1;
|
|---|