$::vars hash

Gervase Markham gerv at mozilla.org
Wed Sep 18 23:19:06 UTC 2002

Bradley Baetz wrote:
> What you also may not know is that global variables suck, and that the 
> global version hash will be removed at some point :)

But in the mean time, you shouldn't reinvent the wheel by re-adding this 
data to it in your CGIs.

> The reason for this is that this affects mod_perl'isation, with the gloabl 
> var and so on.

Global variables are OK in mod_perl if they get emptied at the beginning 
of each execution, right? So surely, if all our global variables are 
part of $vars, that means we only have to empty/nullify one variable :-)


More information about the developers mailing list