I'm using Apache::DBI to maintain persistent db connections using 
mod_perl.  To test this, I'm using a simple script like:

use strict;
print "Content-type: text/html\n\n";
print DBI->connect( ...same connect args as connect_on_init... );

Everytime I reload the script, I get the same hash reference (it has the 
same address).  I turned on DEBUG for Apache::DBI, and the requests are 
definitely being served by different children, so shouldn't each one have 
its own database handle?

Thanks,
Brian

Reply via email to