TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote:

   multi infix:<=> (Any $lhs, A $rhs)
   {
       $lhs.STORE($rhs.clone); # or .cow if that's not automatic
   }


  $lhs.VAR.STORE.


My readings have been that = just copies the ref. Unless it's a "value type" or "immutable" which just means that it doesn't matter. I'll have to read up on that some more soon.

--John

Reply via email to