CC: | adamk [...] cpan.org, ingy [...] cpan.org |
Subject: | META.yml misinterprets "true" as a prereq |
perl5i has had an issue reported by the CPAN testers. It's prerequisite
on "true" is being interpreted from the META.yml as "1". Presumably
YAML is reading it as boolean true.
https://github.com/schwern/perl5i/issues/issue/173/
Module::Build produces a META.yml with this:
requires:
true: 0.12
Which YAML::XS (via YAML::Any), as of 0.72, interprets as:
'requires' => {
'1' => '0.12'
},
YAML::Tiny interprets like this:
'requires' => {
'true' => '0.12'
},
I don't know if Module::Build needs to quote "true" or YAML::XS is being
overzealous. I'll leave it for you all to decide.