On Tue, 6 Feb 2001, darren chamberlain wrote: > Vivek Khera ([EMAIL PROTECTED]) said something to this effect on 02/06/2001: > > However, at the end of the template processing, the object is not > > destroyed; that is, the DESTROY() method is never called, and > > therefore the tied hash never gets untied and Apache::Session::MySQL > > doesn't get a chance to write the data back to the store. > > You aren't clear about the scope of $tt; it sounds like a package > level global, if it's being destroyed when the children exit. > > How about creating a PerlCleanupHandler to explicit destroy $tt? No, don't do that. You need $tt to stick around, so that you can get the large speed increase from using the in-memory cache. - Perrin
- object not being destroyed in a TemplateToolkit-based h... Vivek Khera
- Re: object not being destroyed in a TemplateToolki... darren chamberlain
- Re: object not being destroyed in a TemplateTo... Perrin Harkins
- Re: object not being destroyed in a TemplateTo... Vivek Khera
- Re: object not being destroyed in a TemplateToolki... Perrin Harkins
- Re: object not being destroyed in a TemplateTo... Vivek Khera
- Re: object not being destroyed in a Templa... Perrin Harkins
- Re: object not being destroyed in a Te... Vivek Khera
- Re: object not being destroyed in... Perrin Harkins
- Re: object not being destroye... Vivek Khera
- Re: object not being destroyed in... Perrin Harkins
- Re: object not being destroye... Vivek Khera
- Re: [Templates] Re: objec... Perrin Harkins