Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: raw_fetchChapter 8
Standard Modules
Next: 8.28 CGI::Cookie
 

value

$c->value(val)

Gets or sets the cookie's value. With no parameter, returns the current value; otherwise sets the new value. In array context, returns the current value as an array. In scalar context, returns the first value of a multivalued cookie.


Previous: Reference: raw_fetchPerl in a NutshellNext: 8.28 CGI::Cookie
Reference: raw_fetchBook Index8.28 CGI::Cookie