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?

Smylers

Reply via email to