From 4c2909de65d101e3a11c03f5f146e66cdb96628c Mon Sep 17 00:00:00 2001 From: Gavin Carr Date: Wed, 8 Sep 2010 09:48:48 +0100 Subject: change =method pod items to =item --- lib/Net/Riak.pm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'lib/Net/Riak.pm') diff --git a/lib/Net/Riak.pm b/lib/Net/Riak.pm index 1fb8c21..156779b 100644 --- a/lib/Net/Riak.pm +++ b/lib/Net/Riak.pm @@ -102,13 +102,15 @@ client_id for this client =head2 METHODS -=method bucket +=over 4 + +=item bucket my $bucket = $client->bucket($name); Get the bucket by the specified name. Since buckets always exist, this will always return a L -=method is_alive +=item is_alive if (!$client->is_alive) { ... @@ -116,26 +118,31 @@ Get the bucket by the specified name. Since buckets always exist, this will alwa Check if the Riak server for this client is alive -=method add +=item add my $map_reduce = $client->add('bucket_name', 'key'); Start assembling a Map/Reduce operation -=method link +=item link my $map_reduce = $client->link(); Start assembling a Map/Reduce operation -=method map +=item map my $map_reduce = $client->add('bucket_name', 'key')->map("function ..."); Start assembling a Map/Reduce operation -=method reduce +=item reduce my $map_reduce = $client->add(..)->map(..)->reduce("function ..."); Start assembling a Map/Reduce operation + +=back + +=cut + -- cgit v1.2.3