... use Config qw(getConfig); ... my $foo = getConfig('bar'); ...