Help for this page
package MyDBI; ... } 1;
use MyDBI; my $dbh= MyDBI->connect (...); my $sth = $dbh->prepare ("select now()"); sleep (10); # while sleeping the db goes away $sth->execute; # at this point MyDBI is supposed to reconnect and reru +n prepare/execute