Re: Access to userland objects in different phases

2000-05-16 Thread Ken Miller
At 05:28 PM 5/15/00 -0400, you wrote: >I use Class::Singleton in mod_perl apps with *no* problem >whatsoever. In fact, it's pretty nifty to simply say: > > my $obj = $class->instance; > >anywhere in my application and have the object (whatever it is) simply >pop up. Well, after looking at the Cl

Re: Access to userland objects in different phases

2000-05-15 Thread Chris Winters
* Ken Miller ([EMAIL PROTECTED]) [000515 17:16]: > In the content serving phase I have a Database services object which > manages all access to/from the database. The DB::Services object is > created the first time the handler is hit; the $dbs is made available by > creating a symtab entry, so al

Access to userland objects in different phases

2000-05-15 Thread Ken Miller
In the content serving phase I have a Database services object which manages all access to/from the database. The DB::Services object is created the first time the handler is hit; the $dbs is made available by creating a symtab entry, so all my Mason components can get at the database easily. I