in reply to Strange behaviour when returning the value of "do {}" - possible perl bug?
Re^3: A cleaner way of scoping variables describes the same bug, I believe.