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

can i use $dbh->{Active} to catch the connection status?

Replies are listed 'Best First'.
Re^3: How to check the $dbh's status
by perrin (Chancellor) on Jul 19, 2007 at 14:39 UTC
    Well, connect_cached does more than that. It pings the connection as well. Don't waste your time rewriting connect_cached -- just call it.
      Thank your very much,i will try it:)