in reply to Local $$_?

What is it that you actually want to do? It seems to me that you're passing around names of global variables and you want to change them locally, which strikes me as an overall bad idea, at least because I can't imagine a use case for that where it wouldn't be better to just pass around a lexical hash of the values.

If you are bent on modifying the global variables, I would go for writing code to localize these variables and holding on to a ReleaseAction or Scope::Guard to trigger the restoral of the values. Potentially, you can do evil magic by using Sub::Uplevel or Scope::Upper to get at the scope surrounding your for loop (or higher), but before you do that, you should think hard and long whether you really want such action at a distance at all.