[Catalyst-commits] r11133 - in Catalyst-Runtime/5.80/trunk: .
lib/Catalyst
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Wed Aug 12 02:54:53 GMT 2009
Author: rafl
Date: 2009-08-12 02:54:52 +0000 (Wed, 12 Aug 2009)
New Revision: 11133
Modified:
Catalyst-Runtime/5.80/trunk/Changes
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Request.pm
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Response.pm
Log:
Fix POD refering to CGI::Cookie. We're using CGI::Simple::Cookie.
Courtesy of Forrest Cahoon.
Modified: Catalyst-Runtime/5.80/trunk/Changes
===================================================================
--- Catalyst-Runtime/5.80/trunk/Changes 2009-08-12 01:11:07 UTC (rev 11132)
+++ Catalyst-Runtime/5.80/trunk/Changes 2009-08-12 02:54:52 UTC (rev 11133)
@@ -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
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Request.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Request.pm 2009-08-12 01:11:07 UTC (rev 11132)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Request.pm 2009-08-12 02:54:52 UTC (rev 11133)
@@ -300,7 +300,7 @@
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
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Response.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Response.pm 2009-08-12 01:11:07 UTC (rev 11132)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Response.pm 2009-08-12 02:54:52 UTC (rev 11133)
@@ -102,11 +102,11 @@
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:
More information about the Catalyst-commits
mailing list