This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Ignore backup files in strict.t and warning.t
[perl5.git] / t / pragma / strict.t
index 0ff849e..7585697 100755 (executable)
@@ -18,6 +18,8 @@ my @prgs = () ;
 
 foreach (sort glob("pragma/strict-*")) {
 
+    next if /(~|\.orig)$/;
+
     open F, "<$_" or die "Cannot open $_: $!\n" ;
     while (<F>) {
        last if /^__END__/ ;