Klaas-Jan Stol wrote:
On Nov 26, 2007 10:01 AM, Allison Randal <[EMAIL PROTECTED]> wrote:
I like 'copy', and the idea that it always consistently creates a copy
of the object it's passed. We'll probably get some confusion about the
distinction between 'copy' and 'clone'. Saying "clone creates a new PMC"
is clear enough. I'll put in a todo ticket.

What do you get if you 'copy' an object?

  copy $P1, $P2

This creates a PMC that reuses the PMC header of $P1, morphing it to be the same type of object as $P2 (an instance of the same class), and copying the data from $P2 to $P1.

Allison

Reply via email to