summaryrefslogtreecommitdiff
path: root/lib/warnings.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warnings.t')
-rw-r--r--lib/warnings.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/warnings.t b/lib/warnings.t
index d952906dfe..e61ffbde84 100644
--- a/lib/warnings.t
+++ b/lib/warnings.t
@@ -31,6 +31,7 @@ my $files = 0;
foreach my $file (@w_files) {
next if $file =~ /(~|\.orig|,v)$/;
+ next if $file =~ /perlio$/ && !$Config{useperlio};
open F, "<$file" or die "Cannot open $file: $!\n" ;
my $line = 0;