On Sat, Aug 12, 2006 at 08:57:37AM +0900, dblack / wobblini.net wrote:
> On Sat, 12 Aug 2006, Mark Van Holstyn wrote:
> 
> >or you could do
> >
> >%w{ a b c d e f g h i j }.each {|v| eval "#{v}=''" }
> 
> That won't work; they'll go out of scope.  Actually out of two scopes:
> the eval scope, and the #each block scope.

. . . which is great if you're trying to construct a closure, but not so
great otherwise.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"The measure on a man's real character is what he would do
if he knew he would never be found out." - Thomas McCauley