Fix POD refering to CGI::Cookie. We're using CGI::Simple::Cookie.
Florian Ragwitz [Wed, 12 Aug 2009 02:54:52 +0000 (02:54 +0000)]
Courtesy of Forrest Cahoon.

Changes
lib/Catalyst/Request.pm
lib/Catalyst/Response.pm

diff --git a/Changes b/Changes
index a4e626f..b9dbe4c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -37,6 +37,8 @@
        - Fix POD to refer to ->config(key => $val), rather than
          ->config->{key} = $val, as the latter form is deprecated.
        - Clearer docs for the 'uri_for' method.
+       - Fix POD refering to CGI::Cookie. We're using CGI::Simple::Cookie.
+         (Forrest Cahoon)
 
 5.80007 2009-06-30 23:54:34
 
index 4a40516..099f1de 100644 (file)
@@ -300,7 +300,7 @@ Returns a reference to a hash containing the cookies.
 
     print $c->request->cookies->{mycookie}->value;
 
-The cookies in the hash are indexed by name, and the values are L<CGI::Cookie>
+The cookies in the hash are indexed by name, and the values are L<CGI::Simple::Cookie>
 objects.
 
 =head2 $req->header
index 595decb..cb73a34 100644 (file)
@@ -102,11 +102,11 @@ it found, while L<Catalyst::View::TT> defaults to C<text/html>.
 
 Returns a reference to a hash containing cookies to be set. The keys of the
 hash are the cookies' names, and their corresponding values are hash
-references used to construct a L<CGI::Cookie> object.
+references used to construct a L<CGI::Simple::Cookie> object.
 
     $c->response->cookies->{foo} = { value => '123' };
 
-The keys of the hash reference on the right correspond to the L<CGI::Cookie>
+The keys of the hash reference on the right correspond to the L<CGI::Simple::Cookie>
 parameters of the same name, except they are used without a leading dash.
 Possible parameters are: