for ( [snip] ) { $pid[$_] = fork; if ($pid[$_]) { [snip] } else { # ping some hosts exit; # <-- important that your children exit... } }
-Blake
In reply to Re: A plethora of forks
by blakem
in thread A plethora of forks
by ginseng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |