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

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

From:
audreyt
Date:
June 12, 2006 00:42
Subject:
[svn:perl6-synopsis] r9589 - doc/trunk/design/syn
Message ID:
20060612074236.23510CC049@x12.develooper.com
Author: audreyt
Date: Mon Jun 12 00:42:35 2006
New Revision: 9589

Modified:
   doc/trunk/design/syn/S02.pod

Log:
* S02: more elimination of lvalue-parenthesis form, spotted by spinclad++

Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod	(original)
+++ doc/trunk/design/syn/S02.pod	Mon Jun 12 00:42:35 2006
@@ -632,9 +632,7 @@
 by the sigil either.  Subscripts are always evaluated in list context.
 
 If you need to force inner context to scalar, we now have convenient
-single-character context specifiers such as + for numbers and ~ for strings.
-Conversely, put parenthesis around the lvalue expression to force inner
-context to list:
+single-character context specifiers such as + for numbers and ~ for strings:
 
     @x[f()]   =  g();       # list context for f() and g()
     @x[f()]   = +g();       # list context for f(), scalar context for g()



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