I would include an "or die" clause on the connect() like I did below because you are not guaranteed to have the 'RaiseError' in effect unless the connect succeeds.
Read the source code of DBI's connect method. It will use Carp to croak when RaiseError is in effect if the connection failed.
Improve your skills with Modern Perl: the free book.
In reply to Re^2: DBI not erroring out on Insert
by chromatic
in thread DBI not erroring out on Insert
by rethaew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |