Simon Perreault wrote:
On Tuesday 24 May 2005 10:29, Joe Schaefer wrote:

 $jar->cookie_class("My::Class");
 my $cookie = $jar->{CookieID};


There is no default class? My first impression is that this is strange...

Also, I can't do this, right?

$req->jar->cookie_class('My::Class');

This seems to not have any effect.


If 'cookie_class' were to return a reference to jar (does it?), it would seem plausible to write:

my $cookie = $req->jar->cookie_class('My::Class')->{CookieID};

...no?

--
Brian Carp

Reply via email to