From: Tom Sawyer Date: 2003-01-12T16:15:25+09:00 Subject: Re: 'require' search path On Sunday 12 January 2003 12:10 am, Tom Sawyer wrote: > On Saturday 11 January 2003 07:33 pm, dblack@candle.superlink.net wrote: > > Well, if your first point is true, then I don't think you can be sure > > the second point is true :-) > > true in the sense that the only difference should be that in the very rare > case there may be a require that succeeds where before it would have thrown > an error --and a very very rare exception indeed. i don't think that this > is significant enough to warrant it an unacceptable consequence. note that this is in reference to the "directory require" change. as to the "current directory" change, there is the potential of conflicting file names, but as Ruby searches the $LOAD_PATH in sequence and the current directory is added to the end, this should cause no problems. -- tom sawyer, aka transami transami@transami.net .''. .''. . *''* :_\/_: . :_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'. .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=- :_\/_:'.:::. | ' *''* * '.\'/.' _\(/_'.':'.' : /\ : ::::: = *_\/_* -= o =- /)\ ' * '..' ':::' === * /\ * .'/.\'. '._____ * | *..* : |. |' .---"| * | _ .--'| || | _| | * | .-'| __ | | | || | .-----. | |' | || | | | | | || | ___' ' /"\ | '-."". '-' '-.' '` |_. ------------------------------------------------------------