in reply to Checking more than just the current namespace for sub and var definitions

If you are moving your sub-routines and variables to their own packages and modules, then --at least in the short run-- you should think of exporting them back to the namespace you are in when useing that module. Have a look at Exporter to see what I mean.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: Checking more than just the current namespace for sub and var definitions
  • Download Code