Hi,
I made a couple of changes to Apache::DBI to allow connect_on_init to work
with mod_perl2. Here's the diff if anyone is interested:
diff DBI.pm DBI.pm.old
11,12d10
use constant MP2 = $mod_perl2::VERSION = 1.99;
37,44c35,37
if (MP2) {
On Thu, 30 Jun 2005, Philip M. Gollucci wrote:
Thanks for this Mark. (Un)fortunately you've been beat to it and there are
few more changes to
get all of it working with mp2.
Very nice. Thanks. Can we get that pushed up to CPAN?
On Fri, 7 May 2004, Frank Wiles wrote:
Well the source leads me to believe they already know it doesn't work
with mp2. To quote it TODO - Should check for mod_perl 2 and do
the right thing there.
I made some changes to make Apache-DBI work with mod_perl2 a few months ago.
It works
I'm struggling with a problem that I originally had years ago.
I have a module that establishes connections to Sybase from Apache.
It works fine, but now I'm trying to make it work with Modperl2 and
not having much luck.
The following code works fine with MP1, but not MP2:
sub connect_on_init {