http://www.perlmonks.org?node_id=435452


in reply to Re^2: Perl oddities
in thread Perl oddities

Sure you can, but you need the dreaded +:
print map +{$_}, qw/foo bar/