in reply to DBI can't catch error
If you fail to connect $Dbh will be undef. If $Dbh is not undef, you connected. So check $Dbh not $DBI::err.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI can't catch error
by gepebril69 (Scribe) on Nov 26, 2012 at 13:54 UTC |