Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Forking and running all child processes at the same time

by tlm (Prior)
on Jun 06, 2005 at 12:45 UTC ( [id://463898]=note: print w/replies, xml ) Need Help??


in reply to Re: Forking and running all child processes at the same time
in thread Forking and running all child processes at the same time

Why the test for $pid==-1 ? From perldoc -f fork:

returns the child pid to the parent process, 0 to the child process, or "undef" if the fork is unsuccessful.

the lowliest monk

  • Comment on Re^2: Forking and running all child processes at the same time

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found