From: Cameron McBride Date: 2002-05-04T13:10:27+09:00 Subject: Re: require and case > > pigeon% ruby -e 'require "b.rb"; require "b.rb"' > > Loading b.rb ... > > pigeon% > > > > pigeon% ruby -e 'require "b.rb"; require "./b.rb"' > > Loading b.rb ... > > Loading b.rb ... > > pigeon% > > Have require insert the basename of the file that's loaded into $", > rather than just the relative name? I know very little about the internals, but couldn't the entire path be stored, so that in the case above -- it would know they were the same file? I understand the problem with the relative name, but if there is a problem with the entire path -- I am missing it. (enlightenment is always a good thing) Cameron