Re: Using connect_cached

2006-12-11 Thread Greg Sabino Mullane
On Thu, 2006-12-07 at 10:49 -0600, Prashanth Meka wrote: > I am trying to find a function that will create a persistent connection. > Does connect_cached provide a persistent connection? From the CLI/ODBC > traces, it looks like this program connects two separate times to the > database: > > $dbh

Using connect_cached

2006-12-07 Thread Prashanth Meka
Hi, I am trying to find a function that will create a persistent connection. Does connect_cached provide a persistent connection? From the CLI/ODBC traces, it looks like this program connects two separate times to the database: $dbh1 = DBI->connect_cached("dbi:DB2:SAMPLE", "user", "pass"); $dbh1