in reply to A plethora of forks
for ( [snip] ) { $pid[$_] = fork; if ($pid[$_]) { [snip] } else { # ping some hosts exit; # <-- important that your children exit... } }
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A plethora of forks
by ginseng (Pilgrim) on Aug 31, 2001 at 10:06 UTC |