This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove unused perldelta sections
[perl5.git] / Porting / checkpodencoding.pl
index a936368..050cbe0 100755 (executable)
@@ -22,7 +22,7 @@ find(
 sub finder {
     my $file = $_;
 
-    return if -B $file;
+    return if -d $file or -B $file;
 
     open my $fh, '<', $file;