Ricardo SIGNES 🙂
/
perl-5.24.0-RC5
/
cpan/CPAN-Meta-YAML/t/86_fail.t
This is an example of a serious design flaw in CPAN::Meta::YAML.
It is generally a bad idea to fake out a parsing process. In this case, CPAN::Meta::YAML strips off all lines that look like comments.
It should be easy to find dozens of bugs by looking at the assumptions the code makes and then finding a counter case like this.
That's why I'm working on Tiny::YAML and YAML::Pegex, which are driven by a grammar.