From: David Corbin Date: 2002-03-18T21:16:09+09:00 Subject: Re: eval/Module question (clearer) Ron Jeffries wrote: >Around Sunday, March 17, 2002, 9:13:29 PM, David Corbin wrote: > >>If you'll accept that the call to eval has to appear in the module Gamma >>(this is just sample code), how can I get my Alpha module to not be >>inside Gamma? (i.e., so the second string of const_get() works. >> > >I don't recall the details because it was a long time ago, but I think >that if you use eval inside the module, the thing you eval is defined >inside the module. You can probably find Gamma::Alpha. > >So what Chet and I did was to define a method OUTSIDE of our module, >and then call it from within. > >Ron Jeffries >www.XProgramming.com >Inigo: You are wonderful! >Man in Black: Thank you. I have worked hard to become so. > > Seems to me there is a weakness in the language here....