|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: DBI can't catch errorby mje (Deacon) |
| on Nov 26, 2012 at 13:27 UTC ( #1005655=note: print w/ replies, xml ) | Need Help?? |
|
If you fail to connect $Dbh will be undef. If $Dbh is not undef, you connected. So check $Dbh not $DBI::err.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||