On Tue, 15 Jun 2004 07:47:06 +0900, you wrote: >testing whether diff is defined won't work in ruby anyway. Any time you >have an expression like this: > foo = 23 if expression >foo ends up being automagically defined anyway. After running that >code, if expression is false, foo == nil. yeah, like i said undef would be great :) >So, as Sean says, it would probably be better to use nil, unless >Delta_DHMS might return nil itself. that was just one method from an external perl module, and i when successful returns an array...not sure if it can return a null or not...either way it's just as easy to use defined/undef in perl...