in reply to Re: dbi error handling
in thread dbi error handling
in my connect() code. I started doing this because some versions of DBD::Sybase don't report the line number of the error with just RaiseError set (because the error messages had a newline on the end of them). Also, it's just nice to have a stack trace when a DBI call fails from deep within your function calls.HandleError => sub { Carp::confess($_[0]) },
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: dbi error handling
by Anonymous Monk on Dec 22, 2010 at 03:31 UTC | |
|
Re^3: dbi error handling
by Anonymous Monk on Dec 22, 2010 at 04:01 UTC | |
by runrig (Abbot) on Dec 22, 2010 at 18:16 UTC |