On Fri, 30 Aug 2002 10:44:46 +0800
Stas Bekman <[EMAIL PROTECTED]> wrote:
Hello Stas,
nice to meet you.
>
> I can think of 2 things:
>
> 1. override the problematic subroutine in base.pm so it'll do the
> right thing.
This works.
Anyway the problem is that mod_perl prints out the trace prepending the
string:
"Uncaught exeption from user code:\n\s\s\s"
to the perl error one:
"Can't locate DBI/db.pm in @INC ..."
then base.pm fails its re.
So these 2 are in mutex:
1. I'm not able to use mod_perl and I need help in stuff like error
handling
2. base.pm is bugged (or mod_perl is not compliant) and no one in the
whole world has been able to "use Ima::DBI" in mod_perl, ever.
I'm sure the second has value 'false'.
>
> 2. preload the module that you pass to 'use base' before loading the
> module that includes 'use base ...'
This didn't work. Same error.
Thanks,
Stefano