It seems like $v1/$v2 stays with their latest global value, which can be useful in some cases, but are really problematic when you're coding and you just don't know where the error is to find out it was the local/global problem. Good suggestion there.