httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cvs commit: httpd-apreq-2/glue/perl/docs Cookie.pod
Date Sun, 25 Jul 2004 05:46:58 GMT
joes        2004/07/24 22:46:58

  Modified:    glue/perl/docs Cookie.pod
  Log:
  Add Cookie comment(URL) docs.
  
  Revision  Changes    Path
  1.8       +37 -2     httpd-apreq-2/glue/perl/docs/Cookie.pod
  
  Index: Cookie.pod
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/glue/perl/docs/Cookie.pod,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Cookie.pod	25 Jul 2004 05:25:38 -0000	1.7
  +++ Cookie.pod	25 Jul 2004 05:46:58 -0000	1.8
  @@ -81,6 +81,7 @@
   VALUE_CLASS argument:
   
   =for example begin
  +
       {
           package FOO;
           @ISA= 'Apache::Cookie';
  @@ -461,8 +462,42 @@
   =for example end
   
   =for example_testing
  -     ok $is_secure;
  -     ok (not $cookie->secure);
  +    ok $is_secure;
  +    ok (not $cookie->secure);
  +
  +
  +
  +
  +=head2 C<< comment(), comment($set) >>
  +
  +Get or set the comment field of an RFC (Version > 0) cookie.
  +
  +=for example begin
  +
  +    $cookie->comment("Never eat yellow snow");
  +    print $cookie->comment;
  +
  +=for example end
  +
  +=for example_testing
  +    ok $_STDOUT_ eq "Never eat yellow snow";
  +
  +
  +
  +
  +=head2 C<< commentURL(), commentURL($set) >>
  +
  +Get or set the commentURL field of an RFC (Version > 0) cookie.
  +
  +=for example begin
  +
  +    $cookie->commentURL("http://localhost/cookie.policy");
  +    print $cookie->commentURL;
  +
  +=for example end
  +
  +=for example_testing
  +    ok $_STDOUT_ eq "http://localhost/cookie.policy";
   
   
   
  
  
  

Mime
View raw message