MCE::Map - Provides a parallel map implementation using Many-Core Engine.
This document describes MCE::Map version 1.499_001
use MCE::Map; use MCE::Grep; my @s = mce_map { $_ * $_ } mce_grep { $_ % 5 == 0 } 1..10000;
TODO ...
## mce_map is imported into the calling script. my @a = mce_map { ... } 1..100;
MCE::Map::init { ## This form is available for configuring MCE options ## before running. user_begin => sub { print "## ", MCE->wid, "\n"; } user_end => sub { ... } };
MCE::Map::finish(); ## This is called automatically.
MCE::Flow, MCE::Grep, MCE::Loop, MCE::Stream, MCE::Queue, MCE
Mario E. Roy, <marioeroy AT gmail DOT com>
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install MCE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MCE
CPAN shell
perl -MCPAN -e shell install MCE
For more information on module installation, please visit the detailed CPAN module installation guide.