in reply to Hash equivalent of wantarray?

If all those needed scalar()s bother you, perhaps you should just:
my %hash; $hash{$_} = gParam($_) for qw/formval1 formval2 .../;
You even get rid of the repetition of each key name that way.