Ignore backup files in strict.t and warning.t
[p5sagit/p5-mst-13.2.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__/ ;