On Thu, 2004-02-19 at 17:01, Morbus Iff wrote:
> I don't, however, do any error checking on that eval.

Jinx!

> It seems
> that if a) the eval fails or it gets cached or whatever, then
> b) I'd be returning a blessed object for a module that hasn't
> been loaded. *That* could cause the ->connect to not exist,
> thus causing my error. Right?

Right.

> /me searches the mod_perl docs for mentions of eval.

There is nothing special about eval under mod_perl.  Remember, mod_perl
is just perl, with some extra classes.  It has no fundamental
differences.

- Perrin


-- 
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