Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Catching DBI (or other) errorsby nmerriweather (Friar) |
on Mar 08, 2006 at 09:47 UTC ( [id://535129]=perlquestion: print w/replies, xml ) | Need Help?? |
nmerriweather has asked for the wisdom of the Perl Monks concerning the following question:
I'm having an issue w/catching DBI errors
I do the following: which does exactly what i want - sets a var if the sql command fails, so I can handle the error with more granularity than handler error The problem i've run into is this: the {} creates a hashref warning , which i'd like to get rid of . can anyone offer a suggestion?
Back to
Seekers of Perl Wisdom
|
|