Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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??


in reply to Re: Continuations in Perl - Returning to an arbitrary level up the call stack
in thread Continuations in Perl - Returning to an arbitrary level up the call stack

Thanks! Return::MultiLevel is exactly what I was looking for.
Comment on Re^2: Continuations in Perl - Returning to an arbitrary level up the call stack
Replies are listed 'Best First'.
Re^3: Continuations in Perl - Returning to an arbitrary level up the call stack
by LanX (Chancellor) 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 chilling in the Monastery: (12)
As of 2016-05-04 16:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?