Luke Palmer writes:
> Yes.  Commas may be ommitted on either side of a block when used as an
> argument.  I would argue that they only be omitted on the right side, so
> that this is unambiguous:
> 
>     if some_function { ... }  
>     { ... }
> 
> Which might be parsed as either:
> 
>     if (some_function { ... }) { ... }
> 
> Or:
> 
>     if (some_function()) {...}
>     {...}  # Bare block

Silly me.  That doesn't solve anything.  I don't know why I thought it
did.  I still think that this looks weird:

    foo $bar { ... } $baz;

But that's just preference.

Luke

Reply via email to