You don't seem to be saving the child pids anywhere so you can check to see if they have completed.
Why don't you take a look at Randal Schwartz's May 2002 Unix Review column. It has an example of doing exactly this.
In reply to Re: wait problem for WIN32 perl
by thundergnat
in thread wait problem for WIN32 perl
by kage-yojimbo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |