On Fri, Sep 09, 2005 at 05:35:42PM +0200, Ingo Blechschmidt wrote:
:     my @a = (1,2,3);  # @a's STORE method recognized that the RHS
:                       # is an aggregate, so it created new containers.

The decision to copy is made by the =, not by @a.  This also copies:

    ($a,$b) = ($b,$a)

This is how Perl 5 assignment works, and we're trying not to break that...


Reply via email to