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