Just use Parallel::ForkManager, and set the number of concurrent processes to 4.
In reply to Re: Splitting an array into subarrays of size ~n
by moritz
in thread Splitting an array into subarrays of size ~n
by hotel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |