Does that do what you want? I don't know why the quotes around the entire expression are necessary, though, or if they're a Bad Idea for any reason. (For that matter, *why* is quoting a scalar a Bad Idea? Or is it just "useless?")my $gah = join ('<br>', map {"$_ = $somehash{$_}"} keys %somehash);
--
There are 10 kinds of people -- those that understand binary, and those that don't.
In reply to Re: map and each?
by mephit
in thread map and each?
by L0rdPhi1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |