On Fri, Nov 01, 2002 at 11:01:34AM -0700, John Williams wrote:
> On Thu, 31 Oct 2002, Larry Wall wrote:
> 
> > On Fri, 1 Nov 2002 [EMAIL PROTECTED] wrote:
> > : does it mean that *all* postfix operators have to be "attached"
> > : without space to their operand or used with space eater modifyer
> > :
> > : or
> > :
> > : only those for which parser ( or we ) knows that they may be confused
> > : with binary op or term ?
> >
> > I think a postfix has to be "attached" always.  If there is no postfix,
> > then a binary operator doesn't need to have space before it.  Otherwise
> > it does.
> 
> And if there is no binary, then the postfix can have a space before it?

Sure, as long as you also put the space-eater.  I'm not going to change
my mind in the space of two messages.  (Well, not this time...)

> Or are we introducing this new restriction to perl6 just because someone
> can define a binary operator:++ ?

We are introducing a regularity.  In a few spots it will look like a
restriction.

> perl5 -le '$a = [[42]]; print $$a [0] [0] ++; print $$a[0][0]'
> 42
> 43

That will not parse in Perl 6.  I promise.

Larry

Reply via email to