summaryrefslogtreecommitdiff
path: root/lib/warnings.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-25 19:02:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-25 19:02:41 +0000
commit4fadf1414e8381ec3bc020d977d7da8075f35c00 (patch)
treeaebbad169a9bc31c3d1a42498e8a00399b4c7a31 /lib/warnings.t
parent72feb90e49815411a26e8ac14538a19467086d40 (diff)
downloadperl-4fadf1414e8381ec3bc020d977d7da8075f35c00.tar.gz
If no perlio no perlio warnings, either.
p4raw-id: //depot/perl@15500
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;