Hi --

On Sat, 25 Mar 2006, Mohammad Khan wrote:

> Let me correct myself,
> Actually we are not loosing control, its sort of inconvenience.
>
> When I am writing
> array.each do | blah | end
>
> It would be really convenient if blah is scopped only in this iterator
> block, regardless of blah decleared before or not.

This has been discussed endlessly over the years on this list and
elsewhere.  See archives, and also various indications from Matz about
what's planned for 2.0.


David

-- 
David A. Black (dblack / wobblini.net)
Ruby Power and Light, LLC (http://www.rubypowerandlight.com)

"Ruby for Rails" chapters now available
from Manning Early Access Program! http://www.manning.com/books/black