Is there a way to pare it down more? (The Monastery needs a golf course!)my $v; my %myhash = map { $v = $_; s/_/ /g; $v, $_ } @elements;
Update: As I0 points out, this also modifies @elements, which may not be what you want.
johannz's for construct is looking the most elegant to me now.
In reply to Re: Re: map it back jack
by redcloud
in thread map it back jack
by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |