in reply to Re: Catching a 'division by zero' error with Exception::Class
in thread Catching a 'division by zero' error with Exception::Class
That means, not the specific error is thrown but the last else clause:Died at foo.pl at line 27.
Or am I wrong?else { $e = Exception::Class->caught(); ref $e ? $e->rethrow : die $e; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Catching a 'division by zero' error with Exception::Class
by dreadpiratepeter (Priest) on Sep 15, 2008 at 16:21 UTC | |
by baurel (Sexton) on Sep 15, 2008 at 16:42 UTC | |
by dreadpiratepeter (Priest) on Sep 15, 2008 at 16:56 UTC | |
by baurel (Sexton) on Sep 15, 2008 at 18:09 UTC | |
|
Re^3: Catching a 'division by zero' error with Exception::Class
by dwindura (Novice) on Sep 16, 2008 at 06:17 UTC |