Have a look at Parallel::Iterator - Simple parallel execution, too.
The workers option sets the number of concurrent processes to launch.
my $max_forks = 42; my $options = { workers => $max_forks, }; iterate( $options , $worker, $iterator );
In reply to Re^4: fixed set of forked processes
by tomfahle
in thread fixed set of forked processes
by anonymized user 468275
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |