Michael ([EMAIL PROTECTED]) said something to this effect:
H.
When I retrieve a cookie
%cookies = Apache::Cookie-fetch;
I get a hash that contains the name of the cookie as the key and a
scalar reference as the value.
Apache::Cookie=SCALAR(0xblah...)
Can't seem to unravel
"Thomas S. Brettin" [EMAIL PROTECTED] writes:
from the looks of the code you guys posted, I would guess that
Cookie-fetch returns a hash reference, not a hash. Could this be the
problem?
It can return either a hash or a hash reference, depending on whether or not
you wantarray. The
H.
When I retrieve a cookie
%cookies = Apache::Cookie-fetch;
I get a hash that contains the name of the cookie as the key and a
scalar reference as the value.
Apache::Cookie=SCALAR(0xblah...)
Can't seem to unravel it to get at the
value. Using
%xx = Apache::Cookie-parse($val);
* Michael ([EMAIL PROTECTED]) [000915 17:29]:
H.
When I retrieve a cookie
%cookies = Apache::Cookie-fetch;
I get a hash that contains the name of the cookie as the key and a
scalar reference as the value.
Apache::Cookie=SCALAR(0xblah...)
Can't seem to unravel it to get at
from the looks of the code you guys posted, I would guess that
Cookie-fetch returns a hash reference, not a hash. Could this be the
problem?
Thomas S. Brettin
Staff Member
Bioscience Division, MS-M888
Los Alamos National Laboratory
Los Alamos, NM 87545
505-665-3334
On Fri, 15 Sep 2000, Chris