Up until now I usually handle application configuration with a combination of: a) YAML parser module; b) reading env vars by myself, and c) Getopt::Long. Which is boring, to say the least.
After a bit of CPAN browsing, I find App::Options fills my needs quite nicely. It provides usage text via --help automatically (a big! point). It can also merge configuration from command line, environment variables, and config files.
The only thing it doesn't seem to handle is data structures like arrays or hashes (e.g. specifying multiple --exclude's and --include's).
And it would be nice if the module doesn't invent its own file format, I prefer YAML. Or at least, the file format should be able to handle data structures too.
Is there a better-fitting Perl module for me?
In reply to Searching for the perfect application config module by dgaramond2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |