From: Vincent Pit Date: Tue, 17 Feb 2009 11:32:17 +0000 (+0100) Subject: Make sure all @INC is searched X-Git-Tag: v0.02~6 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=5ae7c1648eae5005202f4f51394454a2223d4214;p=perl%2Fmodules%2FAcme-CPANAuthors-You-re_using.git Make sure all @INC is searched --- diff --git a/lib/Acme/CPANAuthors/You/re_using.pm b/lib/Acme/CPANAuthors/You/re_using.pm index be11024..df1e891 100644 --- a/lib/Acme/CPANAuthors/You/re_using.pm +++ b/lib/Acme/CPANAuthors/You/re_using.pm @@ -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;