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.
In reply to Re^5: Can I get the actual error for DBI->execute() ?
by soonix
in thread Can I get the actual error for DBI->execute() ?
by SergioQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |