Re: Why do variables not reinitialize when script changed?

2000-08-04 Thread Keith G. Murphy
Stas Bekman wrote: I think you confuse, something. When the script is recompiled all the variables belonging to the package decalared by Apache::Registry or similar are getting reset. If you require/use() some modules that declare packages and have global variables -- these won't be reset

Re: Why do variables not reinitialize when script changed?

2000-08-04 Thread Stas Bekman
On Fri, 4 Aug 2000, Keith G. Murphy wrote: Stas Bekman wrote: I think you confuse, something. When the script is recompiled all the variables belonging to the package decalared by Apache::Registry or similar are getting reset. If you require/use() some modules that declare packages

Re: Why do variables not reinitialize when script changed?

2000-08-03 Thread Keith G. Murphy
___cliff rayman___ wrote: The perl interpreter has a one global symbol table called the stash where all global variables are referenced by package and by variable name. Since the interpreter does not go away when a script is recompiled, neither does the stash or any of the items contained

Re: Why do variables not reinitialize when script changed?

2000-08-03 Thread ___cliff rayman___
"Keith G. Murphy" wrote: ___cliff rayman___ wrote: The perl interpreter has a one global symbol table called the stash where all global variables are referenced by package and by variable name. Since the interpreter does not go away when a script is recompiled, neither does the stash

Re: Why do variables not reinitialize when script changed?

2000-08-03 Thread Stas Bekman
On Thu, 3 Aug 2000, ___cliff rayman___ wrote: "Keith G. Murphy" wrote: ___cliff rayman___ wrote: The perl interpreter has a one global symbol table called the stash where all global variables are referenced by package and by variable name. Since the interpreter does not go away

Re: Why do variables not reinitialize when script changed?

2000-08-03 Thread ___cliff rayman___
Stas Bekman wrote: On Thu, 3 Aug 2000, ___cliff rayman___ wrote: "Keith G. Murphy" wrote: ___cliff rayman___ wrote: The perl interpreter has a one global symbol table called the stash where all global variables are referenced by package and by variable name. Since the

Re: Why do variables not reinitialize when script changed?

2000-08-03 Thread Stas Bekman
On Thu, 3 Aug 2000, ___cliff rayman___ wrote: Stas Bekman wrote: On Thu, 3 Aug 2000, ___cliff rayman___ wrote: "Keith G. Murphy" wrote: ___cliff rayman___ wrote: The perl interpreter has a one global symbol table called the stash where all global variables are

Why do variables not reinitialize when script changed?

2000-08-02 Thread Keith G. Murphy
This is probably a very basic question, understood by everyone but... Why, when I change a script loaded under Apache::Registry, and the script (verifiably) reloads, do global variables not reinitialize? I'm running Apache 1.3.9, mod_perl 1.21 on a Debian GNU/Linux system. Am I the only one

Re: Why do variables not reinitialize when script changed?

2000-08-02 Thread ___cliff rayman___
The perl interpreter has a one global symbol table called the stash where all global variables are referenced by package and by variable name. Since the interpreter does not go away when a script is recompiled, neither does the stash or any of the items contained within it. Some programmers are