Author: audreyt Date: Sat Jun 10 20:02:44 2006 New Revision: 9536 Modified: doc/trunk/design/syn/S03.pod
Log: * S03: allow post-assignment forms to be SIMPLE: $x[$y + $z] # simple scalar $x[$y += $z] # simple scalar, too Modified: doc/trunk/design/syn/S03.pod ============================================================================== --- doc/trunk/design/syn/S03.pod (original) +++ doc/trunk/design/syn/S03.pod Sat Jun 10 20:02:44 2006 @@ -147,8 +147,9 @@ precedence levels autoincrement, exponentiation, symbolic unary, multiplicative, and additive; but these are limited to standard operators that are known to return numbers, strings, or booleans. -(Operators that imply list operations are excluded: C<$>, C<@>, -and C<xx>, for instance. Hyper operators are also excluded.) +(Operators that imply list operations are excluded: C<@>, C<%>, +and C<xx>, for instance. Hyper operators are also excluded, but +post-assigment forms such as C<SIMPLE += SIMPLE> is allowed.) All other forms imply list assignment, and will evaluate both sides of the assignment in list context (eventually). However, this is