On Wed, 16 Jun 2004 07:03:25 +0900, you wrote:

>In your code you used global variables, and they work different
>in Perl than you seem to think. 

actually i used local variables, the code was an excerpt...

>So you can do "a = nil" or "$a = nil" and check for a.nil? to be
>true. Or perhaps better just rely on the fact that nil is false in
>Ruby. Using nil will be equivalent to "undef $a" in Perl.

that seems to be the way to go...when i know ruby better my question
will probably be moot :)