my $config = Configuration->new(file => "config",                                 path => "./"); $config->open_file(); my %hash = $config->get_config(); print $hash{server};