Mons/uni-perl

Package doesn't appear on MetaCPAN

Opened this issue · 0 comments

It's on SCO:

But not on MetaCPAN:

It could be a bug in metacpan, but it looks like there are some issues that can be fixed/worked around here.

  1. There's a mismatch between the tarball version (0.92) and the package version (0.91):
---
distfile: M/MO/MONS/uni-perl-0.92.tar.gz
provides:
  uni::perl: 0.91
version: 0.91
  1. The download data appears to be even more out-of-date:
$ curl https://fastapi.metacpan.org/v1/download_url/uni::perl
{
   "version" : "0.03",
   "status" : "cpan",
   "download_url" : "https://cpan.metacpan.org/authors/id/M/MO/MONS/uni-perl-0.03.tar.gz",
   "date" : "2009-10-15T09:14:36"
}
  1. The Makefile.PL refers to a file (lib/uni/perl.pm) which isn't in the manifest and which doesn't exist when the tarball is unpacked. There's also no package uni::perl; declaration anywhere in the unpacked code. While SCO may work around this, it appears that PAUSE/metacpan might not index dynamic packages like this correctly:

A distribution must contain a package, even if it is 100% POD... The package declaration... [is] the key to getting your... distribution indexed by PAUSE.

search.cpan.org has evolved to support edge cases or have exceptions but as the code is not public we are unable to tell you what they are doing.