swizzly has asked for the wisdom of the Perl Monks concerning the following question:
I also created a small config file under /home/user/workspace/cfgtest/etc/config.cfg with a single entry:#!/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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Config::General -IncludeDirectories usage
by haukex (Archbishop) on Sep 08, 2021 at 09:34 UTC |