--00163646b96453b39d04832f43ad
Content-Type: text/plain; charset=ISO-8859-1

> Something like this came up a few weeks ago. I think the parser is the
> one generating the NameError, because the parser only consider a
> variable to be defined if it sees an assignment to it, and such
> assignment has to come *before* any use of the variable. Even though
> the interpreter actually would actually execute y  s first, the
> parser doesn't see it at the point where its value is used.
>

Yeah, that's a bit annoying and considerably reduce while-one-liners
possibilities:

lines  O.read('mac.txt').lines.to_a

puts line while line  ines.pop

but that works if you assign anything to line before ...

--00163646b96453b39d04832f43ad--