in reply to Re: want to skip displaying of "DBD::Oracle::st execute failed:" error messages showing full query
in thread want to skip displaying of "DBD::Oracle::st execute failed:" error messages showing full query

What problems did you encounter when using Try::Tiny (to catch DBI errors)?

  • Comment on Re^2: want to skip displaying of "DBD::Oracle::st execute failed:" error messages showing full query; Try::Tiny

Replies are listed 'Best First'.
Re^3: want to skip displaying of "DBD::Oracle::st execute failed:" error messages showing full query; Try::Tiny
by boftx (Deacon) on Apr 07, 2015 at 22:02 UTC

    I'll have to go back and find a copy of the offending code and sanitize it. It is now accepted practice at $work to use eval for DBI operations, and Try::Tiny for everything else.

    You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.

      Thankyou all for your help :)