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/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.