> 1. Is there a way to specify exactly which cookie I want rather than
> iterating through all known cookies?

$cookies{foo};

> 2. What's an easy way to parse the value string returned from my cookie
> back into the individual elements $fn, $ln, $addr, etc.

Its my understanding that cookies are flattened into a scalar before they
are stored on the remote computer. It wouldn't make much sense for a remote
system to store its data in say a Perl hash. Try printing out $cookies{foo}.
You could probably use split() to get the values of individual fields.

Or you could store the cookie as a string like

value1:value2:value3

then split the values on your end.


_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to