From: Lennon Day-Reynolds Date: 2004-09-17T03:49:29+09:00 Subject: Re: Changing outside variables inside a proc This only works as long as the variables and block params have the same name. If you want to be able to pass the variables to be updated to proc, as the original poster requested, then it won't work. It is a great way to really confuse the hell out of someone reading your code, though; the variable/parameter scoping issues surrounding blocks are one of the few things I really consider to be a "wart" in the core Ruby language. -- Lennon rcoder.net