if () { use settings; } else { $::CONFIGPATH = "C:\\configdir\\config.pm"; }