Regarding mce_loop or MCE::Loop->run(...), both do the same thing. The latter requires the comma after the block.
MCE::Loop->init( ... ); mce_loop { } @data; MCE::Loop->finish; # versus MCE::Loop->init( ... ); MCE::Loop->run( sub { ... }, @data ); MCE::Loop->finish;
In reply to Re^4: Parallel::Forkmanager question
by Anonymous Monk
in thread Parallel::Forkmanager question
by jamesgerard1964
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |