in reply to Re^6: Importing constants into another module
in thread Importing constants into another module

Then you probably meant Check::DNSCheck->new

This assumes there is a file Check/DNSCheck.pm containing package Check::DNSCheck;, and the script includes use Check::DNSCheck;

Replies are listed 'Best First'.
Re^8: Importing constants into another module
by paulski (Beadle) on Feb 03, 2005 at 05:11 UTC
    Thanks, that got it working...been staring at this so long I didn't even realise that simple mistake.