From: Mohammad Khan Date: 2006-03-25T03:01:46+09:00 Subject: Re: scope issue of variable in iterator 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. Mohammad On 3/24/06, Robert Klemme wrote: > Mohammad Khan wrote: > > When we are enjoying the freedom of using variable without > > declearation, we are also loosing control over scope. > > What exactly are you trying to convey? I don't see how the absence of > variable declarations makes a difference with regard to scoping. By > deciding where to use a variable I have exact the same control as in > other languages. > > Kind regards > > robert > >