Sun, 06 Feb 2011 08:54:50 -0500 письмо от Shawn H Corey <[email protected]>:
> On 11-02-06 07:10 AM, Octavian Rasnita wrote:
> > From: "terry peng"<[email protected]>
> >> What's the suggested module for perl's threads?
> >> I have been using Perl 5.12 under linux.
> >>
> >> Thanks.
> >
> >
> >
> > use threads;
> > use threads::shared;
>
> use Thread::Queue;
>
> This module does the work of threads::shared. It is easier to use.
>
Thanks for all your helps.
How about the Coro module?
http://search.cpan.org/~mlehmann/Coro-5.25/Coro.pm
I have heard Threads is out of date in modern perl.
Thanks.
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/