Hello all,
I am using the following setup:
Apache/2.0.52 (Win32) mod_apreq2-20050712/2.1.3-dev
mod_perl/2.0.1 Perl/v5.8.7
I get the request cookie names like
this:
my $jar =
Apache2::Cookie::Jar->new($r);
my @keys = $jar->cookies();
I notice that the @keys list includes not just the
cookie names, but also the name=value pair as well. That means the following
does NOT work:
foreach my $key (@keys)
{
print "$key\n";
# print "$key :
".$jar->cookies($key)->value."\n"; }Because I will end up with (pseudo):
cookie1=value1 :
cookie1 :
cookie2 :
cookie2=value2 :
...
Is this a Apache2::Cookie bug, an old library that
I am using, or did I read the docs wrongly?
|
- Apache2::Cookie bug, or just my misinterpretation? Foo Ji-Haw
- Re: Apache2::Cookie bug, or just my misinterpretat... Philip M. Gollucci