Take a look at Parallel::ForkManager. I have actually used it in the past to solve that very problem.
In reply to Re: Running subroutines asynchronously
by ehdonhon
in thread Running subroutines asynchronously
by MadMax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |