Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: AnyEvent - sequence of async operations without recursion?

by Anonymous Monk
on Feb 11, 2021 at 14:31 UTC ( #11128228=note: print w/replies, xml ) Need Help??


in reply to AnyEvent - sequence of async operations without recursion?

AnyEvent and its ecosystem are outside my area of expertise, but ...

If the original question is really about tail recursion, the way to do that in Perl is goto &DoQueue;. The gone-to subroutine receives as its arguments whatever was in @_ at the time the goto is executed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2021-04-20 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?