On Tue, Oct 26, 1999 at 03:57:09PM +0200, Gerald Richter wrote:
> >
> > However, at the time of that test, I was using:
> >
> > DBI 1.13
> > ApacheDBI 0.85
> > ModPerl 1.21
> > Apache 1.3.9
> > Perl 5.005_03 built for MSWin32-x86
> >
> > I still have that machine, and I will willingly re-do the tests if
> > anybody wishes to join the discussion.
> >
> I have
>
> DBI 1.08
> Apache::DBI 0.81
> mod_perl 1.20
> Apache 1.3.9
> perl 5.005_02
> everything build with MSVC 5.
>
> and it work when I compile mod_perl with PERL_STARTUP_CHECK_DONE (see my
> previous mail). Without compiling with PERL_STARTUP_DONE_CHECK, apache exits
> shortly after it has started.
Yes (looking at the offending line) it's in an END block and the method
would only not be defined if perl was exiting before it had had a chance
to call "bootstrap DBI;".
Anyone having this problem can also fix it by adding this line to the top
of the END block (around line 311):
return unless defined &DBI::trace_msg; # return unless bootstrap'd ok
Tim.