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.
In reply to Re: How to check the $dbh's status
by bart
in thread How to check the $dbh's status
by pysome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |