YAML is beautiful, I like it a lot and use it often. If you aren't building complicated data structures, you might also be able to get away with some of the INI file type modules, or even (dare I say it) XML::Simple. Personally though, if YAML fits, I use it.
I rarely need a config file that is composed of code anymore.
Comment on Re^2: Only perl parses perl hash notation?