You could domy %h_prefixed = map2 { ($_[0], "p".$_[1]) } %h;
my %h_prefixed = %h; $_ = "p$_" for values %h_prefixed;
In reply to Re: map2 {} grep2 {} ...
by ikegami
in thread map2 {} grep2 {} ...
by jozef
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |