perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: question about embperl object application
Date Wed, 25 Sep 2002 14:00:54 GMT
>I'm using embperl-2.0.b8. I have a question about the embperl object
application.
>I have implemented a subroutine DESTROY as destructor of that object
application.
>I'm not shure when that destructor will be called. In embperl.log i see
when the object
>will be called but not when it will be destroyed. Must i call the destroy
subroutine
>explicitly?


The application object is only destroyed when the childs dies, the request
object is destroyed after every request, so per request data should be
stored in the request object and data which needs to persists requests (like
config data) should be stored in the application object.

Gerald



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message