One way to catch that kind of error is by assigning a handler to $SIG{__DIE__}. But maybe Exception::Class even has a mechanism for automatically wrapping such errors.
In reply to Re: Catching a 'division by zero' error with Exception::Class
by moritz
in thread Catching a 'division by zero' error with Exception::Class
by baurel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |