Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 32110
Status: resolved
Worked: 5 min
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 6.42
Fixed in: (no value)



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
I believe this has been resolved now that EUMM is using CPAN::Meta for META file generation. Many thanks.