in reply to Re: map it back jack
in thread map it back jack

Hmm, why did I get dinged negative votes for this one? Is it considered bad to make the hash assignment in the map block?

To most. Merlyn is one of many that disapprove of using a map in a void context. See RE: RE: My favorite looping mechanism in Perl is: and RE: Re: Array to Hash. Dominus disagrees with the broad ruling, (see Re: setting values in anonymous hash) but the general consensus is that it obfuscates your purpose.

Update: Chipmunk beat me to this answer, so take this as a "me too"