Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Forking and running all child processes at the same timeby tlm (Prior) |
on Jun 06, 2005 at 12:45 UTC ( [id://463898]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|