http://www.perlmonks.org?node_id=156550


in reply to Running subroutines asynchronously

Take a look at Parallel::ForkManager. I have actually used it in the past to solve that very problem.