Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Mark A. Downing
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) {

Re: Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Mark A. Downing
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?

Re: Database handle destroyed.....

2004-05-07 Thread Mark A. Downing
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

modperl 1 - modperl 2 problemZ

2003-11-19 Thread Mark A. Downing
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 {