http://www.perlmonks.org?node_id=98109


in reply to Hashes and Cookies (or more to the point, strings)

Just split into a hash.
my $rep= new CGI; my $cookie = $rep->cookie("cookiename"); my %kvpairs = split /,/,$cookie;