develooper Front page | perl.perl6.language | Postings from July 2006

Re: [svn:perl6-synopsis] r10077 - doc/trunk/design/syn

Thread Previous | Thread Next
From:
Aaron Sherman
Date:
July 12, 2006 05:41
Subject:
Re: [svn:perl6-synopsis] r10077 - doc/trunk/design/syn
Message ID:
44B4EDD5.9040001@ajs.com
Smylers wrote:
> larry@cvs.perl.org commits:
>
>   
>> New Revision: 10077
>> Modified: doc/trunk/design/syn/S02.pod
>> ==============================================================================
>>  
>> -    foo.bar		# foo().bar	-- postfix prevents args
>> +    foo.bar		# foo().bar	-- illegal postfix, must use foo().bar
>>      foo .bar		# foo($_.bar)	-- no postfix starts with whitespace
>>     
>
> I don't think it makes much sense to start the comments with an
> alternate form for the expressions now denoted as illegal -- "here's
> some other syntax which this used to be the same as but it no longer is"
> probably only confuses the casual reader.
>   

On a side note, does that apply only to expressions that start with an 
identifier, or does that mean that:

    $socket.accept.getlines

will have to be:

    $socket.accept().getlines

?


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