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.

Replies are listed 'Best First'.
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