Consider this code:

load('1.rb', true)
puts C   # error expected
puts D  # expecting this to be an error as well

1.rb:

C =3D "foo"
require '2.rb"

2.rb:

D =3D "bar"

Is this a bug (we're using 1.8.5)?

From the docs: "If the optional wrap parameter is true, then the loaded scr=
ipt will be executed under an anonymous module, protecting the calling prog=
ram's global namespace."

Secondary question, should require '2.rb' respect the true flag from the or=
iginal load()?

Thanks,
-John