Skip Menu |

This queue is for tickets about the CPAN-Dependency CPAN distribution.

Report information
The Basics
Id: 11269
Status: resolved
Priority: 0/
Queue: CPAN-Dependency

People
Owner: SAPER [...] cpan.org
Requestors: cpan [...] ali.as
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: 0.04



Subject: Does not skip "perl"
I noticed that the CPAN::Dependency object contains a skip list, including 'perl'. When running a little launch script I made for testing single modules, I get adam@red:~$ sudo perl show_deps.pl PPI PPI => PPI 0.900 by ADAMK (Adam Kennedy) prereqs: Class::Autouse, Class::Inspector, Clone, File::Slurp, List::MoreUtils, List::Util, perl [ERROR] 'perl' does not contain an author part [ERROR] Cannot find 'perl' in the module tree Show quoted text
>> error: no dist found for perl
END PROCESSING It would appear that this skip list is not being used.
RT-Send-CC: saper [...] cpan.org
[ADAMK - Thu Jan 27 20:03:49 2005]: Show quoted text
> I noticed that the CPAN::Dependency object contains a skip list, > including 'perl'. > > When running a little launch script I made for testing single modules, > I get > > adam@red:~$ sudo perl show_deps.pl PPI > PPI => PPI 0.900 by ADAMK (Adam Kennedy) > prereqs: Class::Autouse, Class::Inspector, Clone, File::Slurp, > List::MoreUtils, List::Util, perl > [ERROR] 'perl' does not contain an author part > [ERROR] Cannot find 'perl' in the module tree
> >> error: no dist found for perl
> END PROCESSING > > > It would appear that this skip list is not being used.
The skip list is used, see line 228, in run(): next if not defined $dist or $self->{skip}{$dist_name}++; The skip list is here to prevent CPAN::Dependency from processing the Perl, Parrot or Ponie distributions themselves, but it isn't used during the prerequisites analysis. I'll add a separate list to prevent 'perl' from appearing in the prereqs list, as it's done for other core modules. Thank you for your bug report
RT-Send-CC: saper [...] cpan.org
Corrected in version 0.04.