in reply to Catching a 'division by zero' error with Exception::Class
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Catching a 'division by zero' error with Exception::Class
by massa (Hermit) on Sep 15, 2008 at 15:48 UTC | |
by baurel (Sexton) on Sep 15, 2008 at 16:00 UTC | |
by SuicideJunkie (Vicar) on Sep 15, 2008 at 17:10 UTC |