Subject: | Undefined value at CPAN/Distribution.pm line 2958. |
Hi, there is a bug in CPAN::Distribution at line 2958 in unsat_prereq(). I'm guessing that $self->{reqtype} should be able to be undefined. Version 2.22.
} elsif (
$self->{reqtype} =~ /^(r|c)$/
&& ( exists $prereq_pm->{requires}{$need_module}
|| exists $prereq_pm->{opt_requires}{$need_module} )
&& $nmo
&& !$inst_file
) {
cpan[76]> install Package::Stash::XS
Running install for module 'Package::Stash::XS'
Prepending /home/wagnerc/.cpan/build/Test-Deep-1.128-0/blib/arch /home/wagnerc/.cpan/build/Test-Deep-1.128-0/blib/lib to PERL5LIB for 'get'
WARNING: This key is not certified with a trusted signature!
Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC
Signature for /home/wagnerc/.cpan/sources/authors/id/E/ET/ETHER/CHECKSUMS ok
Checksum for /home/wagnerc/.cpan/sources/authors/id/E/ET/ETHER/Package-Stash-XS-0.29.tar.gz ok
Package came without SIGNATURE
Prepending /home/wagnerc/.cpan/build/Test-Deep-1.128-0/blib/arch /home/wagnerc/.cpan/build/Test-Deep-1.128-0/blib/lib to PERL5LIB for 'prepare'
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/5.22/CPAN/Distribution.pm line 2958.
Thanks.