http://www.perlmonks.org?node_id=1080585


in reply to Re^4: Who's referencing my variables?
in thread Who's referencing my variables?

I guess your implied advice is: go through all the modules (a few dozen) and make all variables 'our', then probe the symbol table. I'm not yet convinced that this is the best approach.

Its the easiest and most straight forward approach

Think of it this way -- you wrote leaky code

The best approach is a complete code review (effort)

The next best approach is papering over the leaks (minimum effort possible)