[Bioperl-l] $obj->clone

Hilmar Lapp hlapp@gnf.org
Wed, 18 Sep 2002 13:51:54 -0700


This was on the table a while ago, I know, so it may be a dead horse 
I'm beating. I rather mean it as a poll what people think and 
whether people think life is going to be easier or unchanged w/ or 
w/o a clone method.

The background why I resumed beating this horse is I have written 
some code for bioperl-db that deep-traverses objects and replaces 
all possible child objects. This would get me 3/4 of the way for 
writing up a deep-clone routine (shallow clone is 2 lines in perl).

Any thoughts whether having this would be useful or rather dangerous?

	-hilmar
--
-------------------------------------------------------------
Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757
-------------------------------------------------------------