in reply to Re^4: Can I get the actual error for DBI->execute() ?
in thread Can I get the actual error for DBI->execute() ?

setting RaiseError => 1 does cause the script to exit immediately, yes?
yes, unless the "offending" code is wrapped in an →eval (what ForgotPasswordAgain suggested in Re^3: Can I get the actual error for DBI->execute() ?) or some form of →Try Catch Exception Handling. If your Perl is too old for the latter (or other reasons), there are Try::Tiny and friends.
  • Comment on Re^5: Can I get the actual error for DBI->execute() ?