> 
> >From one of Geoffrey's digests:
> 
> You can disable Apache::DBI database handle persistence on the fly
>     by changing DBI->connect() to the undocumented 5 parameter call
>       $dbh = DBI->connect($dbase, $user, $pass, \%attr,
>                           undef, "connect") || die $DBI::errstr;
>     This will override the default Apache::DBI behavior of caching new
>     connections without affecting those previously cached

wish I could still do those :)

anyway, a few versions ago, DBI did one better and added the
dbi_connect_method connect attribute, which does the same thing but is
far less kludgy

--Geoff

Reply via email to