![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^4: Catching DBI (or other) errorsby clinton (Priest) |
on Mar 09, 2006 at 10:31 UTC ( #535365=note: print w/replies, xml ) | Need Help?? |
But wrapped in an eval and combined with RaiseError, it would stop counting at the point where your query goes wrong.
It is a bit annoying in that you have to count your queries to know which went wrong, but there may be one or two specific action points: if queries 1-4 succeeded, but 5-8 failed do X, otherwise do Y.
In Section
Seekers of Perl Wisdom
|
|