You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by John ORourke <jo...@versatilia.com> on 2006/01/16 22:24:18 UTC

tracing module references for clean destruction

Hi folks, this is partly relevant to the recent DBI discussions but I'm 
wondering about the best way to track and correctly destroy my references.

My mod_perl system involves 70+ modules and 20K lines of code (why God 
why?!!), and I've ended up having to have called methods refer back to 
the module which created them.  So I get instances of modules which have 
references to instances which called them, as you can imagine Apache 
ends up having to forcibly kill it all off, things don't die properly.

I noticed SOAP::Lite has this "SOAP::Trace" thing, and I wondered if it 
was for exactly that purpose... my question is, is this a typical 
situation?  and if so, has someone got a typical solution?

John