Re: Singleton Persistence

2014-02-27 Thread John Dunlap
In the solution that I ended up using, the singleton in question contains the reference to IOC::Container, which contains service literals for each of the constants which are available in $apache->dir_config. As a performance enhancement, when I attempt to retrieve an object from the container, I c

Re: Singleton Persistence

2014-02-27 Thread Rolf Schaufelberger
Hi, we are using Class:Singleton , yet we manually destroy the singleton at the beginning of each request before we create a new one. So I have a class PW::Application which isa Class::Singleton and then { no strict 'refs'; ${"PW::Application\::_instance"}= undef; }