]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/commitdiff
Skip 'Perl' from the list of modules
authorVincent Pit <vince@profvince.com>
Tue, 17 Feb 2009 14:04:51 +0000 (15:04 +0100)
committerVincent Pit <vince@profvince.com>
Tue, 17 Feb 2009 14:04:51 +0000 (15:04 +0100)
lib/Acme/CPANAuthors/You/re_using.pm

index df1e8911dc0a18109a7fc483fb363b6d68de2d30..785b614d0b89e6bea334e0ec39c90205086c3f8f 100644 (file)
@@ -52,6 +52,8 @@ BEGIN {
  croak 'Couldn\'t create a valid ExtUtils::Installed object' unless $installed;
 
  for ($installed->modules) {
  croak 'Couldn\'t create a valid ExtUtils::Installed object' unless $installed;
 
  for ($installed->modules) {
+  next unless defined and $_ ne 'Perl';
+
   my $mod = $pkgs->package($_);
   next unless $mod;
 
   my $mod = $pkgs->package($_);
   next unless $mod;