diff options
| author | Robin Edwards <robin.ge@gmail.com> | 2012-06-07 06:59:06 -0700 |
|---|---|---|
| committer | Robin Edwards <robin.ge@gmail.com> | 2012-06-07 06:59:06 -0700 |
| commit | 1d2631155bbbfb3aaedaba3c483efa265e4f4a6d (patch) | |
| tree | fca7e227efb2dfe2a38f5a51a9893cb0e744a9bc | |
| parent | fixed ws (diff) | |
| parent | fix adding multiple keys at once (diff) | |
| download | net-riak-1d2631155bbbfb3aaedaba3c483efa265e4f4a6d.tar.gz | |
Merge pull request #17 from dams/master
fix adding more than one [ 'bucket', 'key' ] at a time
Diffstat (limited to '')
| -rw-r--r-- | lib/Net/Riak/MapReduce.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Net/Riak/MapReduce.pm b/lib/Net/Riak/MapReduce.pm index ec7f596..91b7083 100644 --- a/lib/Net/Riak/MapReduce.pm +++ b/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; } |
