Daniel Ruoso daniel-at-ruoso.com |Perl 6| wrote:
I disagree. The assignment operator, as opposed to the binding operator (:=) is an operator called on the Array object. It is the same as calling = on each element in turn -- it changes the contents without changing the identity of the container.The second example actually modifies the object stored in the variable'@a'. And that is a different issue.