[Bioperl-l] $obj->clone
Ewan Birney
birney@ebi.ac.uk
Wed, 18 Sep 2002 23:59:16 +0100 (BST)
On Wed, 18 Sep 2002, Hilmar Lapp wrote:
> 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?
I have to admit my knee jerk reaction is "dangerous".
What is the use case for this and are you sure it is senseible?
(not so against it... just..... worried about consequences)
>
> -hilmar
> --
> -------------------------------------------------------------
> Hilmar Lapp email: lapp at gnf.org
> GNF, San Diego, Ca. 92121 phone: +1-858-812-1757
> -------------------------------------------------------------
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
>