The <A href=http://search.cpan.org/~dlux/Parallel-ForkManager-0.7.5/ForkManager.pm>Parallel::ForkManager</A> module in PERL allows for multi-threading. Additional details can be found in the following link.
http://stackoverflow.com/questions/1961682/how-can-i-make-my-perl-script-use-multiple-cores-for-child-processes