On Fri Nov 26 08:04:16 2010, nicholas wrote: > I believe that there is consensus that > > a: it would be useful to have a binding operator in Perl 5 > b: that := is the obvious candidate > > hence at some point we need to re-use := for this. No consensus was ever reached. Many still prefer the \$foo = \$bar syntax as it makes the edge cases obvious: \$foo = \$bar; # simple alias \@foo = \@bar; # simple alias \(@foo) = \(@bar); # alias each element \(@foo) = @list; # alias each element (RHS must contain scalar refs) \@foo[0..$#list] = @list; # similar \(@foo) = \$bar; # alias $foo[0] to $bar \(@foo) = \@bar; # error; RHS is not a scalar ref \@foo[0..5] = \@bar; # error; RHS is not a scalar ref \@foo = $bar; # only works if bar is an array ref But, nonetheless, I see nothing wrong with making this a syntax error. Three others have shown their approval. So I have just applied it (fancy that! that *I* should be applying *your* patches!) as 2dc78664.Thread Next