in reply to Re^2: Recover a path from a config file
in thread Recover a path from a config file
in the following hash, instead of{ folder => 'path',
In any case, unless the config file is used to load all configuration data rather than pick just one item, then it is being misused as well as ill-conceived. There are two types of config file. The language portable one that is just a list of identifiers followed by their values and the "normal" perl way: a class-qualified symbol and a hash assigned to it, which is intended to be loaded in easily enough using just one "require" statement.my $folder = 'path';
Unfortunately, the OP seems to be suffering from an organisation culture that stubbornly resists change even to fix bad implementations. In the wider Perl community we know who they are by reputation and simply avoid working there!
One world, one people
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Recover a path from a config file
by BrowserUk (Patriarch) on Jun 07, 2016 at 14:06 UTC | |
by anonymized user 468275 (Curate) on Jun 07, 2016 at 17:52 UTC | |
by BrowserUk (Patriarch) on Jun 07, 2016 at 19:20 UTC | |
by anonymized user 468275 (Curate) on Jun 07, 2016 at 20:46 UTC | |
|
Re^4: Recover a path from a config file
by Chaoui05 (Scribe) on Jun 07, 2016 at 14:59 UTC |