Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-07-25 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (170 votes), past polls