develooper Front page | perl.perl6.language | Postings from February 2005

Re: scoping functions as list operators?

Thread Previous | Thread Next
From:
Luke Palmer
Date:
February 24, 2005 21:04
Subject:
Re: scoping functions as list operators?
Message ID:
20050225050521.GA23385@navi.cx
Rod Adams writes:
> Luke Palmer wrote:
> 
> >We have discussed making equals low precedence enough to eliminate the
> >parentheses in the standard swap:
> >
> >   $x, $y = $y, $x;
> >
> $x, $y <== $y, $x;

Heh, oh yeah.  I guess I wasn't so off suggesting <-, then.

Well, there's half the problem.  Now we just need to determine if 'my' can
leave its post as a unary declarator.

Luke

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About