Help for this page
use Parallel::ForkManager; $pm = Parallel::ForkManager->new($MAX_PROCESSES); ... $pm->finish; # Terminates the child process }