]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/commitdiff
Make sure all @INC is searched
authorVincent Pit <vince@profvince.com>
Tue, 17 Feb 2009 11:32:17 +0000 (12:32 +0100)
committerVincent Pit <vince@profvince.com>
Tue, 17 Feb 2009 11:32:17 +0000 (12:32 +0100)
lib/Acme/CPANAuthors/You/re_using.pm

index be110240c55530de2f71ec28c9f283d437a06c6b..df1e8911dc0a18109a7fc483fb363b6d68de2d30 100644 (file)
@@ -48,10 +48,10 @@ BEGIN {
  my $auths = Acme::CPANAuthors::Utils::cpan_authors();
  croak 'Couldn\'t retrieve a valid Parse::CPAN::Authors object' unless $auths;
 
- my $installed = ExtUtils::Installed->new;
+ my $installed = ExtUtils::Installed->new(extra_libs => \@INC);
  croak 'Couldn\'t create a valid ExtUtils::Installed object' unless $installed;
 
- for ($installed->modules()) {
+ for ($installed->modules) {
   my $mod = $pkgs->package($_);
   next unless $mod;