On Tue, Feb 05, 2008 at 02:34:35PM -0800, Darren Duncan wrote: > At 9:15 AM -0800 2/5/08, [EMAIL PROTECTED] wrote: >> +The left side is evaluated completely for its sequence of containers before >> +any assignment is done. Therefore this: >> + >> + my $a = 0; my @b; >> + ($a, @b[$a]) = 1, 2; >> + >> +assigns 2 to @b[0], not @b[1]. > > Personally, I think this is a particularly welcome change. > > For one thing, it is now possible to have defined, deterministic semantics > while freeing a compiler to auto-parallelize the list assignment, as the > container assignments themselves are now uncoupled.
Of course, @containers »=« @values would have the same effect more explicitly... Larry