Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 123482
Status: resolved
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.22



Subject: Misidentifies INGY/perl5-0.21.tar.gz as a perl dist
When testing perl5::i, it fails, this being the relevant part of the output: Running test for module 'perl5' The most recent version "0.21" of the module "perl5" is part of the perl-5.0.21 distribution. To install that, you need to run force install perl5 --or-- install I/IN/INGY/perl5-0.21.tar.gz perl5.pm seems like a really neat idea. It would be nice if it would install. I think the regexp in isa_perl needs to expect a hyphen after ‘perl’ unconditionally. But I don’t know for sure whether that would exclude past releases of perl.
Subject: Re: [rt.cpan.org #123482] Misidentifies INGY/perl5-0.21.tar.gz as a perl dist
Date: Thu, 02 Nov 2017 08:00:31 +0100
To: "Father Chrysostomos via RT" <bug-CPAN [...] rt.cpan.org>
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
Show quoted text
> I think the regexp in isa_perl needs to expect a hyphen after ‘perl’ > unconditionally. But I don’t know for sure whether that would > exclude past releases of perl.
The dash was introduced with 5.6.0. But sure, the regexp can be tweeked to help Ingy. Memo to self: perl -le ' use CPAN::Perl::Releases qw(perl_versions perl_tarballs); use File::Basename qw(basename); print basename perl_tarballs($_)->{"tar.gz"} for perl_versions; ' Thanks! -- andreas