my $conf = Config::General->new($cfgfile) || die "New config with $cfgfile failed: $!"; my %config = $conf->getall || die "config->getall with $cfgfile failed: $!";