From: nobu.nokada@... Date: 2001-12-05T13:43:01+09:00 Subject: [ruby-talk:27517] Re: Package Naming At Wed, 5 Dec 2001 12:58:12 +0900, Dave Thomas wrote: > Nice trick :) But I noticed that contants defined in outer modules aren't accessible. So bad X-(. module Text end Text.module_eval do module Markup end end Text::Markup.module_eval do module OutputFormatter p Markup # causes NameError end end > Of course, > > module Text::Markup > > would be slightly prettier... Matz... :) Do you mean module takes any expression? Then, once it's been argued in the thread beginning from [ruby-dev:12323](sorry, in Japanese), the coclusion is that `module expr' syntax has conflict and also ambiguity probably, so new syntax would be required. (cf. [ruby-dev:12344]) Otherwise if it's just tCONSTANT::tCONSTANT format, it may be easier than former, but I'm not sure. Nobu Nakada