On Mon, 31 Oct 2005 10:52:24 +0100, Sven Neuhaus wrote:
> On Mon, 31 Oct 2005 04:31:50 -0500, Josh Danziger wrote:
>> The DBI package has a built in function call for pooled database
>> connections.  Simply calling DBI->connect_cached(...) instead of
>> DBI->connect(...) with the same exact parameters will get the cached copy
>> if (a) it exists and (b) it is still alive.  This would be preferred for
>> obvious reasons.
> 
> I'm familiar with connect_cached

OK, not familiar enough :-)
Looks like DBI stores a copy of the handle (preventing it from
disconnecting b/c it won't go out of scope) so we don't have to. Neat!

-Sven



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to