From: dblack@... Date: 2002-12-14T03:54:46+09:00 Subject: Re: require circularity? Hi -- On Sat, 14 Dec 2002, James Davis wrote: > I'm wondering if it is ever necessary to do something like this: > > unless defined? SomeName then > require 'somename' > end 'require' won't reload, so you're OK. 'load' will, however, so you could end up with a loop there. But usually you use 'load' in cases where you know that you want to reload at runtime. Most often you'd use 'require', which should not cause a problem. (Now, sit back and wait for reports of all the scenarios I haven't thought of... :-) David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav