in reply to Baking Cookies and Eating them

You question is not worded very clearly. So I am going to assume that from this statement, 'I can fecth the value from a cookie which has only one value, but I am now using a cookie which has two values' that you are asking how to retrieve multi-valued cookies. Straight from the CGI::Cookie docs:
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.
So you'll need retrieve the data as a hash (array) - the same way you put it in.

UNTESTED

my %cookie_value = $cookies{'LSRfm'.$type}->value;


grep
Mynd you, mønk bites Kan be pretti nasti...

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.