[Bioperl-l] tree copy by-value
Stephen Montgomery
sm8 at sanger.ac.uk
Thu Apr 19 13:13:44 UTC 2007
my $tree_copy = $tree; #copies by reference a Bio::Tree::Tree object
as an example, a method like
my $tree_copy = $tree->clone; #copies by value (this method doesn't
exist) or
my $tree_copy = Storable::dclone($tree);
Cheers,
Stephen
-----Original Message-----
From: Sendu Bala [mailto:bix at sendu.me.uk]
Sent: 19 April 2007 13:44
To: Stephen Montgomery
Cc: bioperl-l at lists.open-bio.org
Subject: Re: [Bioperl-l] tree copy by-value
Stephen Montgomery wrote:
> is there an existing method for copying a Bio::Tree::Tree object by
> value?
What do you mean? Describe in a little more detail what you're trying to
do.
More information about the Bioperl-l
mailing list