in reply to map2 {} grep2 {} ...
You could domy %h_prefixed = map2 { ($_[0], "p".$_[1]) } %h;
my %h_prefixed = %h; $_ = "p$_" for values %h_prefixed;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: map2 {} grep2 {} ...
by BrowserUk (Patriarch) on Jul 14, 2011 at 16:48 UTC |