>> In an attempt to disprove my sanity, I did a quick swap out of
>> Apache::Registry for Apache::PerlRun, expecting that a good portion
>> of my problems [1] would go away. Oddly, they didn't. In fact, there
>> seemed to be no difference whatsoever. Can I learn anything from this?
>
>You can learn that you don't have a problem with globals that are in the
>current script's name space and not declared explicitly in any package.
>You may still have problems with globals in other packages, or closures.

This, as well as http://groups.yahoo.com/group/modperl/message/57338,
proved very helpful. I did some rather quick editing to match this
"Singleton pattern", and I've yet to be duplicate the caching that
was happening. I'm stilling having trouble with the missing-but-
existing function call [1], but I'll be able to poke around with
a little more understanding before I bug you again <g>.

[1] Program fragment delivered error ``Can't locate object
    method "connect" via package "LibDB::DB::MySQL".

--
Morbus Iff ( i put the demon back in codemonkey )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Spidering Hacks: http://amazon.com/exec/obidos/ASIN/0596005776/disobeycom
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus


-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to