X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FAcme%2FCPANAuthors%2FYou%2Fre_using.pm;h=df1e8911dc0a18109a7fc483fb363b6d68de2d30;hb=5ae7c1648eae5005202f4f51394454a2223d4214;hp=36fd9c77d192ad5208af2f45436e02e6531c5e08;hpb=ccce87545fda1846090f652fc4770e2393070ab9;p=perl%2Fmodules%2FAcme-CPANAuthors-You-re_using.git diff --git a/lib/Acme/CPANAuthors/You/re_using.pm b/lib/Acme/CPANAuthors/You/re_using.pm index 36fd9c7..df1e891 100644 --- a/lib/Acme/CPANAuthors/You/re_using.pm +++ b/lib/Acme/CPANAuthors/You/re_using.pm @@ -11,7 +11,7 @@ use Acme::CPANAuthors::Utils; =head1 NAME -Acme::CPANAuthors::You::re_using - We are the CPAN authors that have written the modules installed for this perl. +Acme::CPANAuthors::You::re_using - We are the CPAN authors that have written the modules installed on your perl! =head1 VERSION @@ -33,7 +33,7 @@ BEGIN { =head1 DESCRIPTION -This module builds an L class by looking for all installed modules for the current C and then retrieving theirs authors' name and PAUSE id. +This module builds an L class by listing all the modules that are installed on the current C and then retrieving the name and the PAUSE id of their corresponding authors. It may take some time to load since it has to get CPAN indexes at C time. @@ -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;