gwtmp01 / mac.com wrote:
> 
> On Jan 20, 2006, at 2:53 PM, Tom Allison wrote:
> 
>> This:
>> Variable Scope, pages 105 through 107
>> "any new locals created (in while, until, for) will be available
>> afterward"
>> I've never seen anything like this.
>> Anything that is declared (or implicitly declared in ruby) within a  
>> block
>> (conditional or loop) is always out-of-scope when you leave that  block.

> Hope this helps.  And if it doesn't then feel free to point out the  
> un-helpful parts.
> 

I went over this and the sections in the Pragmatic book and have finally 
figured it out.  And there are situations where it is convenient to have 
this non-traditional method of handling scope in loops.

I think it would be helpful if there was a specific example to help 
explain via code what this means and why it's "cool".  I'm now half way 
to the "cool" camp on this one.

And yes, I misunderstood that '-w' didn't also address a strict pragma.
But I'm still thinking I can get myself into trouble.  I haven't yet, 
but I'm rather paranoid.  Hence my attraction to ruby because of it's 
security over Python.