perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: Behaviour of Apache::DBI for other applications
Date Thu, 15 Apr 2004 00:32:21 GMT

> similar to how
> Apache::DBI overloads DBI::connect(). I can't seem to derive an
> understanding of how Apache::DBI does what it does from its source.
> Is it a property of DBI itself? 

yes.  from

# check if user wants a persistent database connection ( Apache + mod_perl )
if ($INC{'Apache/'} && $ENV{MOD_PERL}) {
    $DBI::connect_via = "Apache::DBI::connect";
    DBI->trace_msg("DBI connect via $DBI::connect_via in

which is why you need to load Apache::DBI before you load DBI in your or whatever.



Report problems:
Mail list info:
List etiquette:

View raw message