joes        2004/07/24 19:18:32

  Modified:    glue/perl/docs Cookie.pod
  Log:
  Style cleanups
  
  Revision  Changes    Path
  1.6       +4 -3      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Cookie.pod        25 Jul 2004 02:15:53 -0000      1.5
  +++ Cookie.pod        25 Jul 2004 02:18:32 -0000      1.6
  @@ -25,12 +25,13 @@
       use Apache::Cookie;
   
       $j = Apache::Cookie::Jar->new($r);
  -    $c_in = $j->cookies("foo");      # get cookie from request headers
  +    $c_in = $j->cookies("foo");         # get cookie from request headers
   
       $c_out = Apache::Cookie->new($r, 
  -                                  -name => "mycookie",
  +                                  -name  => "mycookie",
                                     -value => $c_in->name );
  -    $c_out->set_attr(path => "/bar");
  +
  +    $c_out->path("/bar");               # set path to "/bar"
       $c_out->bake;                       # send cookie in response headers
   
   =for example end
  
  
  

Reply via email to