threads::lite::list - Threaded list utilities
Version 0.034
This module implements some parallel list utilities op top of threads::lite.
map a list using multiple threads. $options is a hashref whose keys are like in new.
new
grep a list using multiple threads. $options is a hashref whose keys are like in new.
A parallel list processing object can be created if you want to reuse your filter with other arguments.
Create a new parallel list processing object. It takes three named arguments.
code
A reference to the piece of code that should be executed, or it's name. Note that if a name is given, it's containing module must be loaded using modules.
modules
Modules that must be loaded be for the mapping or grepping.
threads
The number of threads you want to use to do the mapping. The default is currently 4, an arbitrary number that may change in the future.
Map elements in a parallel manner.
Grep elements in a parallel manner.
Leon Timmermans, <leont at cpan.org>
<leont at cpan.org>
This is an early development release, and is expected to be buggy and incomplete.
Please report any bugs or feature requests to bug-threads-lite at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=threads-lite. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-threads-lite at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc threads::lite::list
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=threads-lite
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/threads-lite
CPAN Ratings
http://cpanratings.perl.org/d/threads-lite
Search CPAN
http://search.cpan.org/dist/threads-lite
Copyright 2009, 2010 Leon Timmermans, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install threads::lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm threads::lite
CPAN shell
perl -MCPAN -e shell install threads::lite
For more information on module installation, please visit the detailed CPAN module installation guide.