Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Practical, efficient uses for fork()

by the_slycer (Chaplain)
on Jun 29, 2001 at 21:42 UTC ( [id://92727]=note: print w/replies, xml ) Need Help??


in reply to Practical, efficient uses for fork()

I've used it in a ReadKey while loop. ie:
while ($cmd = ReadKey(0)){ if ($cmd =~ /K/){ #fork and do something, continue with loop } #check for other keys either forking more or killing procs etc }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found