in reply to
DBI Timeout and Retry on Connect
I don't know if alarm is safe for this, but I'd suggest you just go ahead and try it. As for checking whether a connection is active, you can use the ping() method. See the DBI docs for details.
Comment on
Re: DBI Timeout and Retry on Connect
In Section
Seekers of Perl Wisdom