tony summerfelt [mailto:snowzone5 / hotmail.com] :
> On Tue, 15 Jun 2004 07:35:33 +0900, you wrote:
>> Can't you just use "=nil" to achive the same thing?
>> (just using the fact that 'nil' is false)
> 
> in perl it's null. which is what defined() and undef() test for...

In ruby, you can *always* do:

foo.nil?

This will return true or false. Similarly, you can also test for
[].empty? (-> true) on a lot of containers, etc.

-austin
--
austin ziegler * austin.ziegler / evault.com