The DBI manpage says this:

connect_cached is like connect, except that the database handle returned is
also stored in a hash associated with the given parameters. If another call
is made to connect_cached with the same parameter values, then the
corresponding cached $dbh will be returned if it is still valid. The cached
database handle is replaced with a new connection if it has been
disconnected or if the ping method fails.

Note that the behavior of this method differs in several respects from the
behavior of presistent (sic) connections implemented by Apache::DBI.

What are the differences?

cheers

andrew

Reply via email to