From: Chad Perrin Date: 2006-08-12T08:48:14+09:00 Subject: Re: Beginner's question: assigning same value to many variables On Sat, Aug 12, 2006 at 08:45:43AM +0900, Suraj N. Kurapati wrote: > > Mark Van Holstyn wrote: > > %w{ a b c d e f g h i j }.each {|v| eval "#{v}=''" } > > Isn't that considered _evil_? Using eval on a string, that is. Maybe we should call it "evil" instead of "eval", then. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] "The ability to quote is a serviceable substitute for wit." - W. Somerset Maugham