summaryrefslogtreecommitdiff
path: root/cpan/ExtUtils-MakeMaker/t/00compile.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/ExtUtils-MakeMaker/t/00compile.t')
-rw-r--r--cpan/ExtUtils-MakeMaker/t/00compile.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpan/ExtUtils-MakeMaker/t/00compile.t b/cpan/ExtUtils-MakeMaker/t/00compile.t
index 743bd9980a..f392276623 100644
--- a/cpan/ExtUtils-MakeMaker/t/00compile.t
+++ b/cpan/ExtUtils-MakeMaker/t/00compile.t
@@ -15,9 +15,10 @@ BEGIN {
chdir "..";
my $manifest = "MANIFEST";
open(my $manifest_fh, "<", $manifest) or die "Can't open $manifest: $!";
-my @modules = map { m{^lib/(\S+)}; $1 }
+my @modules = map { m{^lib/(\S+)}; $1 }
grep { m{^lib/\S+\.pm} }
<$manifest_fh>;
+
chomp @modules;
close $manifest_fh;