[Bioperl-l] $obj->clone
Hilmar Lapp
hlapp@gnf.org
Thu, 19 Sep 2002 16:13:30 -0700
On Thursday, September 19, 2002, at 03:31 PM, Tim Bunce wrote:
> On Thu, Sep 19, 2002 at 10:50:03AM -0700, Hilmar Lapp wrote:
>> They also refer to the (allegedly - not surprisingly - slower)
>> Storable::dclone -- that in fact sounds appealing to me as it's pure
>> perl, and I believe we have a dependency on Storable already.
>
> Storable is implemented in XS/C, but it's a core module now.
> It also now has a huge test suite with many correctly handled edge
> cases.
>
> I'd recommend it unless the Clone module has something you really
> need -
I'm inclined to take the position that we only need the alleged
speed of Clone.pm once someone showcases that we need it.
So, new poll: what are people's thoughts about using Storable's
dclone() implementation, possibly via a wrapper method in
Bio::Root::Root that comes up with some magic if Storable is not
installed.
Did anyone try to install Storable (it is a dependency already) and
ran into problems on any platform? (this is perl 5.6.x, as it comes
with Perl 5.8.x and later - is this correct Tim?)
-hilmar
--
-------------------------------------------------------------
Hilmar Lapp email: lapp at gnf.org
GNF, San Diego, Ca. 92121 phone: +1-858-812-1757
-------------------------------------------------------------