#!/usr/bin/perl -w use strict; use Readonly; use Config::General; use Data::Dumper; Readonly my $config_dir => "/home/user/workspace/cfgtest/etc"; my $config = Config::General->new( -IncludeDirectories => 1, -ConfigFile => $config_dir); my %conf = $config->getall;