You even get rid of the repetition of each key name that way.my %hash; $hash{$_} = gParam($_) for qw/formval1 formval2 .../;
In reply to Re: Hash equivalent of wantarray?
by ysth
in thread Hash equivalent of wantarray?
by fs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |