Hi all,

On Tue, 12 Feb 2002, Stathy G. Touloumis wrote:

> There really is no reason to cleanup the globals since they are still
> referenced and in memory.  Perhaps you can consider an interface around your
> code which can handle the cleanup and such of any variables.
> 
> You could also set a 'cleanup' handler to 'unload' the module from the
> process when it is completed or even 'undef' specific variables.  That way
> you can clear out the namespace and then other scripts calling the same
> named module but from a different path can actually load it.

Of course all of this tends to go in the opposite direction from that
in which mod_perl tries to go: the idea is to do as little processing as
possible (particularly things like compiling modules) for each request.

73,
Ged.

Reply via email to