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


in reply to Re^2: Code in package hell, deceive by debugger (T,IFI)
in thread Code in package hell, deceive by debugger

Then that means that your exporting code is broken:

package base::Vars; # Actually a bunch of others vars in here, but I'm simplifying. use vars qw( %runSwitches ); our @ISA = qw(Exporter); our @EXPORT = qw(%runSwitches);

Since you hint that this isn't actually the code that you ran and had the problem with, it is risky for me to declare what the problem with it is. But there is certainly a potential problem.

You don't actually load Exporter.pm. Add 'require Exporter;' or 'use Exporter;'.

- tye