From: matz@... (Yukihiro Matsumoto) Date: 2002-08-26T18:49:55+09:00 Subject: Re: warning modifying constant & 'global constant' Hi, In message "warning modifying constant & 'global constant'" on 02/08/26, David Garamond writes: |1. if someone attempts to modify a constant, why does ruby choose to |emit a warning instead of a fatal error? If it is a fatal error, something like Ruby embedded editor will meet serious problems, e.g. M-x eval-ruby-expression Eval: Foo = 42 bang! |2. is there a beast called a 'global constant'? i tried defining $Foo |and ruby allows me to rebind $Foo later. No. $Foo is a plain global variable. matz.