https://bugzilla.redhat.com/show_bug.cgi?id=1629642 Dan Book <grinnz@xxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grinnz@xxxxxxxxx --- Comment #2 from Dan Book <grinnz@xxxxxxxxx> --- 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. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx