Skip to content

Module::Metadata can't parse MLEHMANN/common-sense #27

@xenu

Description

@xenu

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions