in reply to Re^3: Continuations in Perl - Returning to an arbitrary level up the call stack (exception handling)
in thread Continuations in Perl - Returning to an arbitrary level up the call stack
probably ...
...most likely
... but I never liked fiddling with die to throw.
> While a daily routine for a Python programmer most Perl hackers won't understand it.
Single popes don't represent our whole monastery!
> Don't bother preaching, switch to Python! :-D
It's far easier to reimplement exception handling in Perl than getting along with crippled lamdas in Python.
The problem with Python are not the features but the restrictions!
Cheers Rolf
( addicted to the Perl Programming Language)
Found good discussions of the matter on SO whats-broken-about-exceptions-in-perl and in the appendix to Try::Tiny.
Try::Tiny looks reasonable to me! =)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Continuations in Perl - Returning to an arbitrary level up the call stack (exception handling)
by BrowserUk (Patriarch) on May 20, 2013 at 19:17 UTC |