From: Dave Thomas Date: 2001-01-24T02:40:02+09:00 Subject: [ruby-talk:9772] Re: require loop matz@zetabits.com (Yukihiro Matsumoto) writes: > Hi, > > In message "[ruby-talk:9730] require loop" > on 01/01/23, Ted Meng writes: > > |I thought "require" would handle infinite loop > |but it does not (at least for 1.6.2), any idea? > > Currently, it does not. Rather it detect loop explicitly. > Mostly to accomplish thread awareness of `load'. I must be particularly dumb today. Why does this need to be caught at all. Unless $" is not getting updated, won't the loop be broken the second time you try to load the same file? Dave