And just for completeness, to disambiguate the other way, use a leading +:
map +{ "x" => $y }, qw(1 2 3);
In reply to Re^2: map syntax error -- weird
by tobyink
in thread map syntax error -- weird
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |