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()