How do you manage configuration files in Perl?

后端 未结 4 1564
失恋的感觉
失恋的感觉 2020-12-06 01:00

I have a program that has to read a configuration file from a PHP script, and a quick search has revealed there are dozens of ways to handle configuration files in Perl:

4条回答
  •  星月不相逢
    2020-12-06 01:42

    One question you have to ask is what is the audience ? That is, are you happy having your target audience (config file users/modifiers) changing Perl code, or modifying a .INI-like file. That will certainly drive your decision to some degree.

提交回复
热议问题