Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

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


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

Unfortunately, the functions up the call stack are modules that I dont control. These modules call my function and I dont want to return to the calling module but one level higher up the stack.

Thanks for the suggestion though. I am currently looking at Continuation::Escape for a possible solution

  • 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 20:56 UTC
    > I dont want to return to the calling module but one level higher up the stack.

    Thats where you have to place the target label.

    Anyway I doubt that your approach is reasonable, sorry! Maybe a XY problem?

    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://1034150]
help
Chatterbox?
[NetWallah]: /stevieb I dont understand - the poster had a very legitimate issue, and expressed it clearly. WHat did you have a problem with?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2017-02-23 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (347 votes). Check out past polls.