in reply to Re^2: How to check the $dbh's status
in thread How to check the $dbh's status

Well, connect_cached does more than that. It pings the connection as well. Don't waste your time rewriting connect_cached -- just call it.

Replies are listed 'Best First'.
Re^4: How to check the $dbh's status
by pysome (Scribe) on Jul 20, 2007 at 02:09 UTC
    Thank your very much,i will try it:)