Extract distribution name and version from a distribution filename

Many online services that are centered around CPAN attempt to associate multiple uploads by extracting a distribution name from the filename of the upload. For most distributions this is easy as they have used ExtUtils::MakeMaker or Module::Build to create the distribution, which results in a uniform name. But sadly not all uploads are created in this way. CPAN::DistnameInfo uses heuristics that have been learnt by http://search.cpan.org/ to extract the distribution name and version from filenames and also report if the version is to be treated as a developer release.
RPM
perl-CPAN-DistnameInfo-0.12-32.fc42.noarch.rpm
Summary
Extract distribution name and version from a distribution filename
URL
https://metacpan.org/release/CPAN-DistnameInfo
Group
Unspecified
License
GPL-1.0-or-later OR Artistic-1.0-Perl
Source
perl-CPAN-DistnameInfo-0.12-32.fc42.src.rpm
Checksum
e7812cade8e3755ec0013390860d77dcd9d081a234b56786d0c12162d66a5a48
Build Date
2025/01/18 10:37:49
Requires
Provides
perl(CPAN::DistnameInfo) = 0.12
perl-CPAN-DistnameInfo = 0.12-32.fc42