Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Continuations in Perl - Returning to an arbitrary level up the call stack

by unlinker (Monk)
on May 18, 2013 at 21:30 UTC ( #1034158=note: print w/ replies, xml ) Need Help??

Comment on Re^2: Continuations in Perl - Returning to an arbitrary level up the call stack
Re^3: Continuations in Perl - Returning to an arbitrary level up the call stack
by LanX (Canon) on May 18, 2013 at 21:36 UTC
    > Thanks! Return::MultiLevel is exactly what I was looking for.

    Of course, it uses goto under the hood, just hidden behind massive abstraction and overhead ... 8-|

    Cheers Rolf

    ( addicted to the Perl Programming Language)

    ) Unfortunately there is no emoticon for shaking the head and sighing...

      No, I understand that goto won't work with recursion like Return::MultiLevel.
      It's more like setjmp()/longjmp() and implemented using eval EXPR and goto.
        You are citing the POD, but I checked the source...

        Cheers Rolf

        ( addicted to the Perl Programming Language)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034158]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2015-07-06 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls