Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Code in package hell, deceive by debugger (bug2)

by tye (Sage)
on Nov 30, 2011 at 19:28 UTC ( #940921=note: print w/replies, xml ) Need Help??

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 Add 'require Exporter;' or 'use Exporter;'.

- tye        

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940921]
[Corion]: Oh. I've run out of prewritten articles. I need to release some more modules and write some more articles then ;)
choroba still has one more.

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-04-24 08:51 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (437 votes). Check out past polls.