httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r178957 - /httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm
Date Sun, 29 May 2005 14:45:15 GMT
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';
 
 
 



Mime
View raw message