From: ara.t.howard@... Date: 2006-10-10T23:16:53+09:00 Subject: Re: || explanation in ruby... in pseudolanguage On Tue, 10 Oct 2006, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: || explanation in ruby... in pseudolanguage" > on Tue, 10 Oct 2006 18:15:22 +0900, dblack@wobblini.net writes: > > |Possibly... > | > | item = 1 > | [2,3,4].each do |item| end > | p item # 4 > > Not in 1.9, where block parameters are local to the block, since > recent change. i know this has been discussed many times, and block locals definitely makes sense, but it __is__ a massive change that will break quite a bit of code. is there somewhere the new scoping rules are spelled out so we can get a heads up? is there a reccomended approach that will work in both 1.8 and 1.9 so as to smooth the transition? regards. -a -- my religion is very simple. my religion is kindness. -- the dalai lama