On Wed, 02 Feb 2000, MOORHOUSE, John NW Group Risk wrote:
> if a variable within a modperl program is created whether a reference to an
> object or just a var, does mod_perl know when to clean it up or should you
> do that yourself at the end
>
> i.e
>
> $main::var="LARGE STRING"
>
>
> does mod_perl know that the var is nolonger in use after the script has
> run??
Yes - using the normal perl scoping rules. However if you've created a
closure things are a little different. See the guide.
> ********************************************************************
> This e-mail is intended only for the addressee named above.
> As this e-mail may contain confidential or privileged information,
> if you are not the named addressee, you are not authorised to
> retain, read, copy or disseminate this message or any part of it.
> ********************************************************************
Damnit. Now what am I going to do... :)
--
<Matt/>
Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.