It's just like any other perl object..If you keep a reference to your
object in global or package namespace,it's destroy will never be called
since modules under mod_perl are not unloaded unlink cgi.
If your object is lexically scoped,it'll be cleaned upon scope exit.

On Tue, 2003-09-30 at 23:13, [EMAIL PROTECTED] wrote:
> under mod_perl, does the module being called in the web that create
> classes get cleaned up w/o calling destroy explicitly? That is, if I
> create a DBI handler wrapper class, closes the db connection, finish the
> code but never call the destroy on explicitly. Or for any Class object?
> 
> I'm using DBI not Apache::DBI.
> 
> thanks,
> -rkl
> 

Reply via email to