Module::Metadata can't handle MLEHMANN/common-sense. It's a very unusual distribution, looks like its author tried really hard to abuse PAUSE indexer as much as possible.
There are following problems:
->package_versions_from_directory ignores .PL files (package and $VERSION are declared in sense.pm.PL).
- stuff in
__DATA__ is ignored (that's where package is declared in that distribution).
- As opposed to
Module::Metadata, PAUSE indexer doesn't really care in which package $VERSION was declared. With some exceptions, the first $VERSION definition is used with all packages in the parsed file ($VERSION is declared in main, not in common::sense).
Module::Metadatacan't handleMLEHMANN/common-sense. It's a very unusual distribution, looks like its author tried really hard to abuse PAUSE indexer as much as possible.There are following problems:
->package_versions_from_directoryignores.PLfiles (package and$VERSIONare declared insense.pm.PL).__DATA__is ignored (that's where package is declared in that distribution).Module::Metadata, PAUSE indexer doesn't really care in which package$VERSIONwas declared. With some exceptions, the first$VERSIONdefinition is used with all packages in the parsed file ($VERSIONis declared inmain, not incommon::sense).