What modules should I look at for doing multithreading in Perl?
I\'m looking to do something fairly low performance; I want threads is to run multiple workers simultaneo
Coro is a nice module for cooperative multitasking.
99% of the time, this is what you need if you want threads in Perl.
If you want threads to speed up your code when multiple cores are available, you are going down the wrong path. Perl is 50x slower than other languages. Rewriting your code to run on two CPUs means that it now only runs 25x slower than other languages ... on one CPU. Better to spend the effort porting the slow parts to a different language.
But if you just don't want IO to block other "threads", then Coro is exactly what you want.