Hope this is what you were asking for!... my $dbh; eval { $dbh = DBI->connect(...); }; if ( $@ ) { # do something with the error }
In reply to Re: DBI Connect Error Trapping
by shemp
in thread DBI Connect Error Trapping
by Zo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |