diff options
| author | Robin Edwards <robin.ge@gmail.com> | 2013-03-01 14:09:39 +0000 |
|---|---|---|
| committer | Robin Edwards <robin.ge@gmail.com> | 2013-03-01 14:09:39 +0000 |
| commit | cf7b7e6b60ec52150cc99b12ab079b0348dcfb1b (patch) | |
| tree | d37389ace153a487a8478398d516669ba73d3f43 | |
| parent | Update changelog and version ready for release (diff) | |
| download | net-riak-cf7b7e6b60ec52150cc99b12ab079b0348dcfb1b.tar.gz | |
Return reference
| -rw-r--r-- | lib/Net/Riak/Object.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Net/Riak/Object.pm b/lib/Net/Riak/Object.pm index 8dc92fd..80997c1 100644 --- a/lib/Net/Riak/Object.pm +++ b/lib/Net/Riak/Object.pm @@ -83,7 +83,7 @@ sub add_index { if (length($index) > 4 && $index =~ /^.+_int$/ && $data =~ /^\d+$/ ); $self->i2indexes($ref); } - $self->i2indexes; + return $self->i2indexes; } sub remove_index { @@ -102,6 +102,7 @@ sub remove_index { $self->i2indexes($ref); } } + return $self->i2indexes; } sub load { |
