I too love YAML and use YAML.pm often, though I do think I might switch to the inifiles modules when I don't need to serialize Massive Convoluted Datastructures (TM). What are these bugs you speak of? Well, yes, CPAN has a 'bugs' section listed for YAML, though it mostly seems to list things that just aren't implemented yet. Nothing that would reach out and bite you really.
| [reply] |
Look for example at the two items in the "important" section (one of them is mine). These are problematic if you're serializing/deserializing arbitrary data. On the other hand, if zou're just using a configuration file with fixed keys and relatively simple values (with no newlines, for example), then YAML should be fine.
| [reply] |
I personally use yaml for all of my configuration needs these days, and though they tend to be simple, YAML is more than OK. It's straight forward and quite easy to read and write by hand. The perl interface is easy. Everything is easy. Don't think I can recommend it enough. | [reply] |