Subject: | Possibly wrong META.yml output for empty PREREQ_PM |
If PREREQ_PM is missing or an empty hash in the Makefile.PL, then
META.yml generated by MakeMaker has the following line:
requires:
YAML.pm parses this back to requires => undef
Now the META.yml specification says that this key is optional, and if
there, that it has to be a map (a hash). I read this as the "requires:"
line should either be missing, or it should translate to the empty hash.
Expressed in YAML, this would be
requires: { }
Basically this is the difference between exists $hash{...} and defined
$hash{...}.
Regards,
Slaven