in reply to Re^2: Getting data using Apache::Cookie
in thread Apache::Cookie cookie set and cookie retrieved not the same?!

See the example from the libapreq source.

... my $r = shift; my $apr = Apache::Request->new($r); my $cookies = Apache::Cookie->new($r)->parse; my $c = $cookies->{'animals'}; my %zoo = (); %zoo = $c->value if $c; ...

Replies are listed 'Best First'.
Re^4: Getting data using Apache::Cookie
by neilwatson (Priest) on Aug 04, 2004 at 21:11 UTC
    What does $c become? What is in %zoo? Why is it when my code gets unexpected results (see up-date at top of thread)?

    Neil Watson
    watson-wilson.ca