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

Re: scoping functions as list operators?

Thread Previous | Thread Next
Luke Palmer
February 24, 2005 21:04
Re: scoping functions as list operators?
Message ID:
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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About