Bugzilla->instance and friends

Bradley Baetz bbaetz at acm.org
Wed Jan 29 11:26:23 UTC 2003

On Wed, Jan 29, 2003 at 01:08:17PM +0200, Jouni Heikniemi wrote:
> At 21:31 29.1.2003 +1100, you wrote:
> >So, the alternative is to use Class::Singleton either directly (or just
> >use the standard ||= construct), possibly with Apache::Singleton too
> >(despite the name, this sort of works without mod_perl, although the
> >install tests fail). To get a template, you then:
> Why is that class called Apache::Singleton? Is there something that should 
> be abstracted out using something less Apache-specific? I don't know if 
> Apache::Singleton is anything bad (I really know nothing about it), but 
> having something like that in the code sounds like a potential disaster for 
> people using other web server software. While it may be harmless now, it 
> might not be that in every possible environment or in the future.

Yeah, the name is sucky. Basically, you can inherit from
Apache::Singleton::Per{Request,Process}. Whether we use hat or roll our
own isn't realy important at this stage.

Theres no effect when not running under mod_perl, but we wuld need some
changes to run under the win32 perlex stuff.


More information about the developers mailing list