Smylers writes:
> Luke Palmer writes:
>
> > Uri Guttman writes:
> >
> > > >>>>> "DC" == Damian Conway <[EMAIL PROTECTED]> writes:
> >
> > > DC> @sorted = sort {-M}=>{$^b cmp $^a} @unsorted;
> > >
> > > but there is no comma before @unsorted. is that correct?
> >
> > Yes. Commas may be ommitted on either side of a block when used as an
> > argument.
>
> That's what I thought too. But Damian gave exactly the opposite answer
> to Uri's question, claiming he'd made a typo and a comma would be
> required.
>
> So which is it -- is Luke right in saying that Damian was right in the
> first place? Or is Damian right in saying that his example was wrong?
I was wrong in saying that he was right. Those aren't simple blocks, as
Damian said, so you need the comma.
Luke
> Smylers
>