On Feb 5, 2008 5:34 PM, Darren Duncan <[EMAIL PROTECTED]> wrote: > >+ 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.
It is certainly less surprising, I'd say. But is there a LET* analogue to do it the old way if we want to? -- Mark J. Reed <[EMAIL PROTECTED]>