Author: larry Date: Fri Jun 16 16:53:52 2006 New Revision: 9683 Modified: doc/trunk/design/syn/S03.pod
Log: Cut-n-paste error noted by TheDamian++. Modified: doc/trunk/design/syn/S03.pod ============================================================================== --- doc/trunk/design/syn/S03.pod (original) +++ doc/trunk/design/syn/S03.pod Fri Jun 16 16:53:52 2006 @@ -205,13 +205,13 @@ @a[foo()] = bar(); # @a[1] = [<a b c>] sub foo { return (1) } - @a[foo()] = bar(); # (@a[1,2,3]) = <a b c> + @a[foo()] = bar(); # (@a[1]) = <a b c> sub foo { return 1 } - @a[foo(),] = bar(); # (@a[1,2,3]) = <a b c> + @a[foo(),] = bar(); # (@a[1]) = <a b c> sub foo { return 1 } - (@a[foo()]) = bar(); # (@a[1,2,3]) = <a b c> + (@a[foo()]) = bar(); # (@a[1]) = <a b c> Those are all parsed as list assignments, but we get different run-time behaviors based on the run-time type of the left side.