Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by tlm (Prior)
on Jun 06, 2005 at 12:45 UTC ( #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? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2022-11-29 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?