in reply to Re^3: Importing constants into another module
in thread Importing constants into another module
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Importing constants into another module
by Tanktalus (Canon) on Feb 03, 2005 at 04:53 UTC | |
by paulski (Beadle) on Feb 03, 2005 at 05:15 UTC | |
|
Re^5: Importing constants into another module
by bmann (Priest) on Feb 03, 2005 at 02:52 UTC | |
by paulski (Beadle) on Feb 03, 2005 at 04:00 UTC | |
by bmann (Priest) on Feb 03, 2005 at 04:33 UTC | |
by paulski (Beadle) on Feb 03, 2005 at 05:11 UTC |