A map/reduce map phase for Data::Riak::Fast. See Data::Riak::Fast::MapReduce::Phase::Reduce for attribute information.
my $mp = Data::Riak::Fast::MapReduce::Phase::Map->new( language => "javascript", # The default source => "function(v) { return [ v ] }", keep => 1 # The default );
To install Data::Riak::Fast, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Riak::Fast
CPAN shell
perl -MCPAN -e shell install Data::Riak::Fast
For more information on module installation, please visit the detailed CPAN module installation guide.