in reply to Baking Cookies and Eating them
So you'll need retrieve the data as a hash (array) - the same way you put it in.value() Get or set the cookie's value. Example: $value = $c->value; @new_value = $c->value(['a','b','c','d']); value() is context sensitive. In a list context it will return the + current value of the cookie as an array. In a scalar context it will + return the first value of a multivalued cookie.
UNTESTED
my %cookie_value = $cookies{'LSRfm'.$type}->value;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |