Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Multitasking in Perl

by gmpassos (Priest)
on Feb 21, 2005 at 00:26 UTC ( [id://432919] : note . print w/replies, xml ) Need Help??


in reply to Multitasking in Perl

What you want is multithread. Take a look at threads.

For multiple executions of multiple tasks you can use modules that help to do that with threads: Thread::Pool, Thread::Isolate::Pool.

Note that you will need Perl-5.8.3+ to can use multithreading. For multithreading is recomended to always use the last Perl version, Perl-5.8.6, specially because 5.8.6 has some memory leak fixes.

Graciliano M. P.
"Creativity is the expression of liberty".