There's more than one way to do things | |
PerlMonks |
Re: check if DBI is still connectedby radiantmatrix (Parson) |
on Oct 06, 2005 at 16:02 UTC ( [id://497978]=note: print w/replies, xml ) | Need Help?? |
Any of the above answers will suit you, but I found this solution to be useful for a similar task of mine, as it does most of the work for you:
connect_cached() connects if you aren't currently connected. Of course, you can do this yourself by using:
But why?
<-radiant.matrix->
A collection of thoughts and links from the minds of geeks The Code that can be seen is not the true Code "In any sufficiently large group of people, most are idiots" - Kaa's Law
In Section
Seekers of Perl Wisdom
|
|