Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Catching DBI (or other) errors

by clinton (Priest)
on Mar 09, 2006 at 10:31 UTC ( [id://535365]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Catching DBI (or other) errors
in thread Catching DBI (or other) errors

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://535365]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-03-28 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found