Name

value

Synopsis

$c ->value(val)

Description

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.

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.