Undefine

Tony,

    I think the answer to your original question is "No, there is no
easy way to undefine a variable in Ruby". If you actually need that
functionality, I would stick to Perl.

    If you can describe a case where undefine() would be *required* (as
opposed to simply making Perl code "shorter" as in the example you
gave), I'm sure someone can offer some useful suggestions to translate
that code into Ruby.

    - Warren Brown

If you actually need that functionality, I would stick to Perl.

well, no. i don't actually NEED it. it would be nice to have.

perl's oo is very 'tacked on' cumbersome at best, annoying to use in
general.

most of the perl i write is probably better called 'perl4'/

   If you can describe a case where undefine() would be *required*

well, i'll leave that as a google exercise for those interested.

it's probably not required in any code (in any language).

···

On Wed, 16 Jun 2004 03:33:44 +0900, you wrote: