From: matz@... (Yukihiro Matsumoto) Date: 2004-03-21T01:23:58+09:00 Subject: Re: require resets $! to nil. Bug or feature? Hi, It's not defined behavior. I just couldn't think of any use of $! value after require. In message "require resets $! to nil. Bug or feature?" on 04/03/20, Mauricio Fern�ndez writes: |Note that | rescue Exception => e | somemeth | raise e | end |is not a desirable solution because the backtrace info will be modified. |For now I will move the requires but I'd like to know if require's |behaviour w.r.t. $! is deliberate, and if so, the rationale. I feel like backtrace information should be preserved this case. There might be some reason behind that I forget. Let me check. matz.