in reply to Re: map syntax bug-a-boo?
in thread map syntax bug-a-boo?
Though, now that I think about it, all this probably reflects a perl heuristic/optimization in the parser which says something along the lines of "if, within the bracketed expression, I see a constant and then a comma, I'm going to assume the expression is a hash, and not a block, no matter what comes afterwards...."map { $_, 2 } @l;
MeowChow s aamecha.s a..a\u$&owag.print
|
|---|