in reply to Re^8: How to call particular parameter from another configuration file in perl
in thread How to call particular parameter from another configuration file in perl
The path you give to Config::Simple is relative to the current directory. It is not relative to where your script sits.
If you want to use a config file from a given directory, you need to specify that directory explicitly in the name of the config file, like:
my $config = Config::Simple->new("/path/to/config.ini");
|
|---|