Open
Description
The way the module endpoint works is wrong, probably because of the underlying structure treating modules as files. Instead of giving you the definite and authoritative module, it gives you a result of a module it finds[1].
Example:
https://v1.metacpan.org/module/warnings
This leads to Apache::Test
instead of warnings
.
You can see it here as well:
$ perl -MMetaCPAN::Client -E'say MetaCPAN::Client->new->module("warnings")->distribution'
Apache-Test
[1] I don't know if it's the first it finds, the first it indexed, or what other metric it uses to pick one out of many.