in reply to
Re^5: Draft - Writng pluggable programs with perl.
in thread Draft - Writng plugable programs with perl.
I agree that singletons make sense in certain situations.
In my example above, I was considering that a web application framework was running under mod_perl and serving up multiple sites. So each site could potentially pass a database handle specific to the application requested via the URL, an error log specific to the application requested via the URL, a template object specific.... I'm curious, how would you recommend implementing a framework that requires many objects passed among the objects which make up the framework?