You can use grep to filter out empty values
%params = map { $_ => join("; ", grep {$_} split("\0", $cgi->Vars->{$_})) } $cgi->param;
In reply to Re: Regex During Map Function
by samarzone
in thread Regex During Map Function
by deMize
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |