Welcome to the monastery!
You can try Parallel::ForkManager. You can set up to 16 the number of forked off children.
This way new child process will be forked whenever one running child has been finished.my $pm = Parallel::ForkManager->new(16);
In reply to Re: Wait for individual sub processes
by pme
in thread Wait for individual sub processes [SOLVED]
by crackerjack.tej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |