https://bugzilla.redhat.com/show_bug.cgi?id=1629642
Dan Book <grinnz(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |grinnz(a)gmail.com
--- Comment #2 from Dan Book <grinnz(a)gmail.com> ---
The correct way to interpret a Perl module version is to follow what the PAUSE
indexer does. This is to first check META.json (falling back to META.yml) for a
'provides' entry, in which case it will be trusted to provide the versions of
all included modules. Failing that (many dists don't include provides
metadata), the first line containing $VERSION after each package declaration is
executed on its own and the resulting value of $VERSION is used for the version
of that package. This logic is usefully encapsulated by
https://metacpan.org/pod/Dist::Metadata and similarly used by MetaCPAN to
provide versions in its API. As such there are many distributions like this one
which build their version assignment line with the expectation that it will be
executed as Perl code.
--
You are receiving this mail because:
You are on the CC list for the bug.