How do you manage configuration files in Perl?

后端 未结 4 1567
失恋的感觉
失恋的感觉 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:32

    I quite like using YAML configuration files. I find them to be very readable and easily manipulated. They fit naturally into Perl as well as the primary constructs are Arrays and Hashes.

提交回复
热议问题