laziness, impatience, and hubris | |
PerlMonks |
Re^4: Importing constants into another moduleby paulski (Beadle) |
on Feb 03, 2005 at 02:38 UTC ( [id://427506]=note: print w/replies, xml ) | Need Help?? |
Hehe...I'd figured this out just before you posted. Although I was going mainly off intuition.
Why was this causing the problem.? Is is because Audit::Config.pm clashes with another PERL module called Config.pm in @INC? Another weird thing...if I set the package for DNSCheck.pm as: package Check::DNSCheck.pmmy script complains that it can't find the new{} constructor. Can't locate object method "new" via package "DNSCheck" (perhaps you forgot to load "DNSCheck"?) at ./audit.pl line 32, <FILE> line 1.I'd be interested to know why this is? Thanks
In Section
Seekers of Perl Wisdom
|
|