in reply to
die send to stdout & stderr
If you just want to catch
DBI
errors, there is a
HandleError
attribute for
DBI
. Alternatively you can set RaiseError to true, and wrap your DBI calls in an
eval
block, then handle the error after the block.
Comment on
Re: die send to stdout & stderr
In Section
Seekers of Perl Wisdom