in reply to Checking more than just the current namespace for sub and var definitions
No, you should switch paradigms, switch to object oriented programming.