Welcome to the Monastery | |
PerlMonks |
Re: DBI can't catch errorby mje (Curate) |
on Nov 26, 2012 at 13:27 UTC ( [id://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
|
|