The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MCE::Map - Provides a parallel map implementation using Many-Core Engine.

VERSION

This document describes MCE::Map version 1.499_001

SYNOPSIS

   use MCE::Map;
   use MCE::Grep;

   my @s = mce_map { $_ * $_ } mce_grep { $_ % 5 == 0 } 1..10000;

DESCRIPTION

TODO ...

API

mce_map
   ## mce_map is imported into the calling script.

   my @a = mce_map { ... } 1..100;
init
   MCE::Map::init {

      ## This form is available for configuring MCE options
      ## before running.

      user_begin => sub {
         print "## ", MCE->wid, "\n";
      }
      user_end => sub {
         ...
      }
   };
finish
   MCE::Map::finish();   ## This is called automatically.

PERSISTENT WORKERS

initp

TODO ...

mce_mapp

TODO ...

SEE ALSO

MCE::Flow, MCE::Grep, MCE::Loop, MCE::Stream, MCE::Queue, MCE

AUTHOR

Mario E. Roy, <marioeroy AT gmail DOT com>

LICENSE

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.