in reply to DBI Connect Error Trapping
Hope this is what you were asking for!... my $dbh; eval { $dbh = DBI->connect(...); }; if ( $@ ) { # do something with the error }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI Connect Error Trapping
by hmerrill (Friar) on Nov 08, 2002 at 18:18 UTC |