On Mon, Nov 26, 2007 at 01:03:32AM -0800, Allison Randal wrote: > The 'copy' opcode is similar to 'clone' but it reuses the PMC header of > the destination register. It takes two PMC arguments. > > The opcode will be implemented by calling the 'morph' and 'assign' > vtable functions.
Just a note that there are a lot of the built-in types -- especially the aggregate and subroutine types -- that don't currently have implementations of 'assign'. This is why I've been favoring solutions that somehow use clone instead of morph+assign . Pm assign implemented. > > Allison