Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 pondering the Monastery: (6)
As of 2014-09-23 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (209 votes), past polls