From: Rich Morin Date: 2006-10-12T01:53:01+09:00 Subject: Re: ERB as a macro pre-processor? At 1:39 AM +0900 10/12/06, Gavin Kistner wrote: > ... I have been tought to have such an aversion to 'eval' > in various languages that some part of me wonders if > there would be a good reason to let Ruby do things in a > 'standard' way rather than using eval. I think that the basic concern with eval is that spurious code might be brought into the program. "require" has the same problem, if the file has been auto-generated. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development