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:
- Config data in a separate file
- AppConfig
- Config::General
- Config::IniFiles
- Config::Scoped
- Config::Simple
- ConfigReader::Simple
- And many others
Brian provides an overview here.
Config::Simple will work for me, since the existing file is INI-like. I am interested to know what style people regularly use in their code though?