in reply to if database connection failed try to reconnect
Just don't use "or die" in your code. Use something like
my $cnx = DBI->connect();
# try another address
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (365 votes). Check out past polls.