Damian Conway wrote: > If the rule was, "you can leave a comma out either side of a block/closure, > no matter where it appears in the argument list", it would also be more > consistent. > > And that's what's being contemplated. Because otherwise, you also have > to have: > > for @list, {...} > if $condition, {...} > given $value, {...} > :-(
Hmm. I had been figuring the all conditional/loop stuff would be special cases within the grammar, because of their associated cruft... but if comma-optional is allowed on *either* side of any block, it means that their grammar becomes quite trivial. So 'if' and friends are just (native) subroutines with prototypes like: sub if (bool $c, Code $if_block) {...}; or whatever the heck the syntax turns out to be. That wins the less-special-cases war by a mile, so I emphatically withdraw my objection. Thanks. MikeL