From: Eric Schwartz Date: 2002-11-12T05:47:04+09:00 Subject: Re: More fun with modules Joel VanderWerf writes: > Method lookup doesn't go thru enclosing modules, just included modules > (and superclasses, of course). > > However, constant lookup *does* look thru enclosing modules, in > addition to included modules and superclasses: Ah, that explains it! I was using this facility to define a few module-level global variables that I didn't want to be /real/ globals, and it seems to me that the PoLS would indicate that what works for constants works for other things, too. Why does it work this way? -=Eric -- Come to think of it, there are already a million monkeys on a million typewriters, and Usenet is NOTHING like Shakespeare. -- Blair Houghton