Help for this page
if (<check that the file exists>) { require 'settings.pm'; ... else { $::CONFIGPATH = "C:\\configdir\\config.pm"; }
eval "use settings"; if ($@) { $::CONFIGPATH = "C:\\configdir\\config.pm"; }