in reply to Re: Very very small style question
in thread Very very small style question

Says blogan:
> Couldn't you do an (if defined $new) also?
No. chipmunk is exactly right here; the function needs to be able to set members of the B array to undefined. In fact, an earlier version of the code did use ...if defined $new and had a terrible bug that led to an infinite loop, because items weren't being set to undef when they needed to be.

Thanks for the suggestion, though.