[Bioperl-l] Re: [Bioperl-guts-l] [Bug 1720] New: Bug in Bio::SeqFeature::Generic.pm DESTROY causes object corruption.. fix included!

Aaron J. Mackey amackey at pcbi.upenn.edu
Fri Dec 10 11:59:27 EST 2004


Probably because the offending code in get_tag_values doesn't check for 
defined($hash{$key}) but just exists($hash{$key}) (and then merrily 
tries to dereference it as an array).  It's a bug in BioPerl, to be 
sure, but not as mystical as it seems.

-Aaron

On Dec 10, 2004, at 11:55 AM, Alok Saldanha wrote:

> I still don't understand why adding delete() to DESTROY causes the 
> problem to go away

--
Aaron J. Mackey, Ph.D.
Dept. of Biology, Goddard 212
University of Pennsylvania       email:  amackey at pcbi.upenn.edu
415 S. University Avenue         office: 215-898-1205
Philadelphia, PA  19104-6017     fax:    215-746-6697



More information about the Bioperl-l mailing list