http://qs321.pair.com?node_id=579584


in reply to Which configuration module?

It all depends on the complexity of what you're needing a configuration file for.

If its something relatively simple, use Config::Simple. its a VERY quick and useful format of one-to-one name->value pairs that supports comments and INI-style sections (depending on how you configure your instance of it).

if you need something more complex, I highly recommend Config::General. this has the added advantage of using a (more or less) Apache-style configuration format, and all its cool little uses: repeatable options, nested options, inclusion of other config files, and more. this all comes at a slight performance cost as opposed to Config::Simple, of course.

__________
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
- Terry Pratchett