Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Appconfig module questionby hveneticus (Novice) |
on Dec 15, 2017 at 15:34 UTC ( [id://1205595]=perlquestion: print w/replies, xml ) | Need Help?? |
hveneticus has asked for the wisdom of the Perl Monks concerning the following question: I have to read a configuration file that contains lines like these ones:
After a search, I found that module Appconfig can be the right one. I've read its documentation more and more, but I think I don't really understand how it works (honestly, it is a bit harder to read). Consider also that I'm only a beginner in Perl. My problem is the variable named DIRSKE. Appconfig can expand the value as in a shell script, but I can't understand how do it when I have two of them in the same line.
The output is:
I'd like to have something like:
Am I using the correct module?
Back to
Seekers of Perl Wisdom
|
|