Thank you very much,jdhedden for this excelent lesson of OO use of this basic config file style!
in reply to Reading and Writing Perl Config Files
I agree that there are several interesting aproaches to standarize config files. I also prefer the Apache config way. OTH, I should better prefer an XML way. I know.
But this is similar to what I use in my personal config files. And in this OO way, I won't feel guilty when keeping on doing so, programatically. It is error prone!
I should only point out that it is not possible to keep a special order in the variables, because of the hash nature of these config files.
But it is Ok for me and my scripts :)