From: Jack Dempsey Date: 2001-12-17T17:00:29+09:00 Subject: [ruby-talk:28743] Re: rruby b Hi Matz, Yeah, I've seen that defined? gives me results I'm not really looking for...kinda like the isset() versus empty() functions in php...I've since changed that script to use a simple 'if table' test which works beautifully. I have to say, ruby really does stick to the POLS well...its been a joy to program in so far, and its been about 2 days :-) Thanks for your 'rubies' of wisdom (ok, its 3:20am, i'm excused from that one...) Jack -----Original Message----- From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org] Sent: Monday, December 17, 2001 2:57 AM To: ruby-talk ML Subject: [ruby-talk:28742] Re: rruby b Hi, In message "[ruby-talk:28599] rruby b" on 01/12/15, Jack Dempsey writes: |if defined? table Don't use defined? for local variables like this. Determination is done in compile time, so that result may be different from your expectation. matz.