... The value can be a scalar, an array reference, or a hash reference. (At some point in the future cookies will support one of the Perl object serialization protocols for full generality).use CGI::Cookie; $cookie2 = new CGI::Cookie(-name=>'preferences', -value=>{ font => Helvetica, size => 12 } print header(-cookie=>[$cookie2]);
In reply to Re: Serializing Cookies ???
by lhoward
in thread Serializing Cookies ???
by lindex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |