go ahead... be a heretic | |
PerlMonks |
Re: Config Files in Perlby xdg (Monsignor) |
on Nov 22, 2006 at 23:22 UTC ( [id://585642]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|