You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2005/05/29 16:45:15 UTC

svn commit: r178957 - /httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm

Author: joes
Date: Sun May 29 07:45:15 2005
New Revision: 178957

URL: http://svn.apache.org/viewcvs?rev=178957&view=rev
Log:
*status methods are read-only.

Modified:
    httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm

Modified: httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm?rev=178957&r1=178956&r2=178957&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm (original)
+++ httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm Sun May 29 07:45:15 2005
@@ -242,25 +242,9 @@
 =head2 status
 
     $jar->status()
-    $jar->status($set)
 
-Get or set the I<APR> status code of the cookie parser:
+Get the I<APR> status code of the cookie parser:
 APR_SUCCESS on success, error otherwise.
-
-=for example begin
-
-    $j->status(-1);
-    ok $j->status == -1;
-    eval { @cookies = $j->cookies("foo") };   # croaks
-    ok $@->isa("Apache2::Cookie::Jar::Error");
-    $j->status(0);
-
-=for example end
-
-=for example_testing
-    ok $j->status == 0,            '$j->status == 0';
-    @cookies = $j->cookies("foo");
-    ok @cookies == 2,              '@cookies == 2';