getcgivars
# Resolve and unencode name/value pairs into %in
foreach (split('&', $in)) {
($name, $value)= split('=', $_, 2) ;
$name =~ s/%(..)/chr(hex($1))/ge ;
$value=~ s/%(..)/chr(hex($1))/ge ;
$in{$name}.= "\0" if defined($in{$name}) ; # concatenate multiple vars