in reply to Scope of a Hash

Why don't you post your code instead of describing it? Be sure to twiddle it down to a minimum size before post it, and please wrap your code <c>...</c> tags.

The fact that you're using globs is... very odd. Try using a reference to the hash, or the hash itself if you want to make a copy of it.