in reply to Config Files in Perl

Unless you expect to users to manage multi-level data structures or complex quoted structures, I'd go with the simplest possible config file, i.e. #1. Personally, I find that Config::Tiny is about as lightweight as can be and I recommend it highly.

IMO, YAML is useful only if you expect config files to be managed by programmers.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.