[Bioperl-l] return undef

Sendu Bala bix at sendu.me.uk
Mon Nov 6 10:59:41 EST 2006

Nathan S. Haigh wrote:
> Is there any reason why a "return undef" can't simply be swapped over to
> just "return"?

No, in fact if you see any 'return undef's, please change them to 
'return' since the former can lead to subtle bugs. We did do an audit 
earlier to fix most of those; presumably there was some kind of issue 
with the remainder (or they just weren't caught), so check that no 
problems arise when you make the change.

More information about the Bioperl-l mailing list