Thanks. I'm looking forward to "given" in Perl 6. I thought about that yesterday when I had a similar temporary that was only needed for the next two lines. Emulating with a one-iteration foreach is probably too obtuse.
Comment on Re: Re: Are common access expressions optimized?
I don't think it's obtuse at all - you might be surprised the first time you see it, but did you really have any problem reading it? I think it's immediately obvious what is happening.