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

Re: fork() not working as expected

by Crackers2 (Parson)
on Mar 21, 2009 at 05:31 UTC ( [id://752194]=note: print w/replies, xml ) Need Help??


in reply to fork() not working as expected

The while (%pids) block should be outside of the foreach.

Right now you're doing a fork and then waiting for the child to finish before starting the next one.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found