in reply to Re: Fork novice requests help...Part Deux
in thread Fork novice requests help...Part Deux
foreach $letter (x','y','z'){ foreach $number (1 .. 5){ if (wait() != -1){ if ($pid = fork){ print "Forking for $letter, $number\n"; sleep 15; exit; }}}}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Fork novice requests help...Part Deux
by Abigail (Deacon) on Jun 26, 2001 at 21:42 UTC | |
by thor (Priest) on Jun 27, 2001 at 00:27 UTC |