# Some possibilities my $dbh = DBI->connect(..., {RaiseError=>1}); or my $dbh = DBI->connect(...) or die $DBI::errstr; or my $dbh = eval { DBI->connect(..., {RaiseError}=>1) }; redirect_to_some_friendly_page_that_says_our_database_is_down($@) if $ +@;
In reply to Re: DBI issue
by runrig
in thread DBI issue
by rmckillen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |