On Tue, May 26, 2009 at 05:56:10PM -0400, Daniel Staal wrote:
> --As of May 26, 2009 12:33:08 PM -0700, Bill Ward is alleged to have said:
>
>> How would you feel about ref($foo)->new();
>
> --As for the rest, it is mine.
>
> As a clone?  Off the top of my head, I can't see what's that doing.  A 
> bit of thinking (and reading) about ref() makes it understandable, if not 
> clean.

No, as a way of creating a new object in the same class as an existing object.
The suggestion for a method that clones was $obj->clone.

hdp.

Reply via email to