MCE::Shared::Sequence - Sequence helper class
This document describes MCE::Shared::Sequence version 1.699_005
# non-shared use MCE::Shared::Sequence; my $s = MCE::Shared::Sequence->new( $begin, $end, $step, $fmt ); # shared use MCE::Hobo; use MCE::Shared Sereal => 1; my $s = MCE::Shared->sequence( 1, 100 ); sub parallel { my ( $id ) = @_; while ( my $seq = $s->next ) { print "$id: $seq\n"; } } MCE::Hobo->new( \¶llel, $_ ) for 1 .. 8; $_->join for MCE::Hobo->list();
Helper class for MCE::Shared.
To be completed before the final 1.700 release.
MCE, MCE::Core, MCE::Shared
Mario E. Roy, <marioeroy AT gmail DOT com>
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.