Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Capturing error thrown by a database

by onelesd (Pilgrim)
on Aug 01, 2011 at 18:55 UTC ( #917901=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Capturing error thrown by a database
in thread Capturing error thrown by a database

Posting your code would help. You can define a subroutine to handle all of your DBI errors: HandleError.


Comment on Re^3: Capturing error thrown by a database
Download Code
Re^4: Capturing error thrown by a database
by mpeppler (Vicar) on Aug 10, 2011 at 08:33 UTC
    I'll also point out the DBD::Sybase implements its own error handler callback (syb_err_handler connection level attribute). See the DBD::Sybase docs for details.

    Michael

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-11-26 05:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (162 votes), past polls