You guys are now illustrating why Config::General is a good thing. from the perldoc... use Config::General; $conf = new Config::General("rcfile"); my %config = $conf->getall; Erik