This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merge pull request #17 from dams/master

fix adding more than one [ 'bucket', 'key' ] at a time
  • Loading branch information...
2 parents 1a5c551 + 2e6cb23 commit 1d2631155bbbfb3aaedaba3c483efa265e4f4a6d @robinedwards robinedwards committed Jun 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Net/Riak/MapReduce.pm
@@ -53,7 +53,8 @@ sub add {
if (ref $arg eq 'ARRAY') {
do{
$self->add_input($arg);
- }while(my $arg = shift @_);
+ }while($arg = shift @_);
+
return $self;
}

0 comments on commit 1d26311

Please sign in to comment.