While I am sure that for the majority of readers of this site the following my be trivial, obvious or just plain easy... There may be someone, somewhere for whom I could save 10 minutes...
my $cookie_name = "whatever the cookie name is...."; my %cookie_hash = (map { split /=/, $_ } $q->cookie('$cookie_name'));
In reply to One liner to read all cookie key/vals into a Hash... by smullis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |