From 43c3c127d1b58b2462aac03aab360f9e3cf9a986 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Sat, 11 Mar 2017 19:38:15 -0700 Subject: [PATCH] fix documentation errors --- lib/HTTP/AnyUA/Backend.pm | 8 +++++--- lib/HTTP/AnyUA/Backend/Furl.pm | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/HTTP/AnyUA/Backend.pm b/lib/HTTP/AnyUA/Backend.pm index 26ccb2d..169a5cf 100644 --- a/lib/HTTP/AnyUA/Backend.pm +++ b/lib/HTTP/AnyUA/Backend.pm @@ -23,7 +23,9 @@ package HTTP::AnyUA::Backend; return $resp; } - ### Non-blocking user agents return responses as Future objects: + ### Non-blocking user agents are expected to return Future objects: + + use Future; sub response_is_future { 1 } @@ -69,8 +71,8 @@ return value to and from its L method. =head1 SEE ALSO =for :list -* L - Explanation of the request arguments -* L - Explanation of the response +* L - Explanation of the request arguments +* L - Explanation of the response =cut diff --git a/lib/HTTP/AnyUA/Backend/Furl.pm b/lib/HTTP/AnyUA/Backend/Furl.pm index b25642f..cb46cf5 100644 --- a/lib/HTTP/AnyUA/Backend/Furl.pm +++ b/lib/HTTP/AnyUA/Backend/Furl.pm @@ -10,8 +10,8 @@ interface provided by L. =for :list * L doesn't keep a list of requests and responses along a redirect chain. As such, the C -field in the response is always the same as the URL of the original request, and the C -field is never used. + field in the response is always the same as the URL of the original request, and the C + field is never used. =head1 SEE ALSO -- 2.45.2