in reply to Sharing database handle

"Have I told you... lately..." that (Super Search)++ ?

Check this out - Sharing a database handle over multiple processes.

From 'perldoc DBI'
ping $rc = $dbh->ping; Attempts to determine, in a reasonably efficient way, if the database server is still running and the connection to it is still working. Individual drivers should implement this function in the most suitable manner for their database engine.