in reply to How to check the $dbh's status
In case that doesn't work for your database, for example because the driver doesn't actually implements that method, you can always fall back on trying to execute your query and see if it bombs out, catch it with eval if necessary, and if it fails, reconnect and try again.
|
|---|