views:

1032

answers:

3

What is best module for parallel process in Perl? I have never done the parallel processing in Perl.

What is good Perl module for parallel process which is going to used in DB access and mailing ?

I have looked in module Parallel::ForkManager. Any idea appreciated.

+8  A: 

Parallel::ForkManager, as the POD says, can limit the number of processes forked off. You could then use the children to do any work. I remember using the module for a downloader.

Alan Haggai Alavi
+3  A: 

You could also look at threads, Coro, Parallel::Iterator.

hexten
+7  A: 

Well, it all depends on particular case. Depending on what you exactly need to achieve, you might be better of with one of following:

For some tasks there are also specialized modules - for example LWP::Parallel::UserAgent, which basically means - you have to give us much more details about what you want to achieve to get best possible answer.

depesz

related questions