I'm not sure that explains the bad behavior though. The DBI docs say it will "force errors to raise exceptions rather than simply return error codes in the normal way." I'm not getting error codes or anything--just an unexplained halt.
Docs also say "Typically RaiseError is used in conjunction with eval { ... } to catch the exception that's been thrown and followed by an if ($@) { ... } block to handle the caught exception" and I'm not trying to trap errors in an eval.
In reply to Re^2: DBI sudden exit on MySQL insert
by cormanaz
in thread DBI sudden exit on MySQL insert
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |