At 06:23 AM 8/7/00 +1000, Damian Conway wrote:
>
> > That's cool. I can also see calling a package's CLONE sub if you're
> > cloning something blessed into it.
>
>I like it. And CLONE is preferred to the specified (2nd arg) handler.
I'm tempted to say toss the second parameter entirely. If the package
doesn't know how to duplicate itself, perhaps it ought not be done.
> > Presumably it'd get the original
> > as a parameter and return the new thing, or something of the sort.
>
>Thinking about it, it should get a reference to the original and return a
>reference to the new value.
Works. We won't always be passing objects around, I suppose.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk