This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Plain scalars are supposed to be literal filenames
authorFlorian Ragwitz <rafl@debian.org>
Wed, 6 Jul 2011 15:05:21 +0000 (17:05 +0200)
committerFlorian Ragwitz <rafl@debian.org>
Wed, 6 Jul 2011 15:35:11 +0000 (17:35 +0200)
Anchor them accordingly.

META.yml
Porting/Maintainers.pm

index 52cd85f..febf30d 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -101,6 +101,7 @@ no_index:
     - lib/version.pm
     - lib/version.pod
     - lib/version.t
+    - pod/perldoc.pod
     - pod/perlfilter.pod
     - pod/perlpodstyle.pod
     - Porting/Maintainers.pm
index 6c5b8c2..d4bd4a8 100644 (file)
@@ -94,7 +94,7 @@ sub filter_excluded {
        unless my $excluded = $Modules{$m}{EXCLUDED};
 
     my ($pat) = map { qr/$_/ } join '|' => map {
-       ref $_ ? $_ : qr/\Q$_\E/
+       ref $_ ? $_ : qr/\b\Q$_\E$/
     } @{ $excluded };
 
     return grep { $_ !~ $pat } @files;