John Drago wrote: [...]
It's lines like this that make perl scripts small and perl great, and give them both a bad name for Java programmers. I'm sure someone can think of a way to strip the possible leading and trailing spaces off the keys at the same time though.my %args = map { my ($k,$v) = split /\=/, $_; unescape($k) => (unescape($v) } split /\&/, $r->args;
;-)