Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: perl threads in a recursive function

by moritz (Cardinal)
on Aug 21, 2013 at 11:17 UTC ( #1050327=note: print w/ replies, xml ) Need Help??


in reply to perl threads in a recursive function

Read perlthrtut. Threads are spawned with threads->create(\&codref, @args); and it doesn't matter if the function that does it is recursive or not.

That said, the requirement does sound odd, and you'd do well to question it critically. Maybe you have an XY Problem?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2016-06-25 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (325 votes). Check out past polls.