[rochester-pm-list] Reading...
Pat
havoc at shell1.eznet.net
Wed Jan 5 10:47:31 CST 2000
On Wed, Jan 05, 2000 at 09:42:33AM -0500, Fred Edmister wrote:
> $query = new CGI;
> %answers = $query->cookie('STOREID');
>
> problem.. It apparently reads the cookie, but it sends a value of "1/8"
I don't believe you're handling %answers correctly, its a hash, not a scalar.
If you're seeing the value "1/8", you're treating it as a scalar.
perldoc -f each
may help you.
--Patrick Ludwig
More information about the Rochester-pm
mailing list