From 4936c22b5fbfc7c1f6a4c9ac5c3de400a28ef709 Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Wed, 14 Aug 2013 00:02:46 -0400 Subject: Fixes typos. --- lib/Net/HTTP/Spore.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Net') diff --git a/lib/Net/HTTP/Spore.pm b/lib/Net/HTTP/Spore.pm index d3b2165..0802f24 100644 --- a/lib/Net/HTTP/Spore.pm +++ b/lib/Net/HTTP/Spore.pm @@ -180,7 +180,7 @@ Some specifications for well-known services are available L and B. The client will read the specification file to create a appropriate methods to interact with the API. +First you need to create a client. This can be done using two methods, B and B. The client will read the specification file to create the appropriate methods to interact with the API. =head2 MIDDLEWARES @@ -192,7 +192,7 @@ or only on some path $client->enable_if(sub{$_->[0]->path =~ m!/path/to/json/stuff!}, 'Format::JSON'); -For very simple middlewares, you can simple pass in an anonymous function +For very simple middlewares, you can simply pass in an anonymous function $client->enable( sub { my $request = shift; ... } ); -- cgit 1.4.1