Integrate mainline
[p5sagit/p5-mst-13.2.git] / lib / warnings.t
index d952906..d6bd374 100644 (file)
@@ -31,6 +31,7 @@ my $files = 0;
 foreach my $file (@w_files) {
 
     next if $file =~ /(~|\.orig|,v)$/;
+    next if $file =~ /perlio$/ && !(find PerlIO::Layer 'perlio');
 
     open F, "<$file" or die "Cannot open $file: $!\n" ;
     my $line = 0;
@@ -131,7 +132,7 @@ for (@prgs){
        foreach my $option (split(' ', $1)) {
            if ($option eq 'regex') { # allow regular expressions
                $option_regex = 1;
-           } 
+           }
            elsif ($option eq 'random') { # all lines match, but in any order
                $option_random = 1;
            }