[Bioperl-l] attribute setting and return value

Tim Bunce Tim.Bunce@pobox.com
Mon, 30 Sep 2002 11:20:43 +0100


On Sun, Sep 29, 2002 at 09:11:00AM -0400, Aaron J Mackey wrote:
> 
> I think Tim typo'ed and meant "can't set an attribute to undef"; his
> version allows it, while most of our others don't.

Yeap. [Was the tail end of a long Sunday digging holes in the garden...]

Tim.

> -Aaron
> 
> On Sun, 29 Sep 2002, Ewan Birney wrote:
> 
> > On Sun, 29 Sep 2002, Tim Bunce wrote:
> >
> > > Another problem with both styles shown is that you can set an attribute to undef.
> > > Here's an alternative to the first style (it's also faster):
> >
> > Quite often you want to be able to set an attribute to undef to indicate
> > absence.
>