summaryrefslogtreecommitdiff
path: root/ext/PerlIO
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-04-28 08:57:54 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-04-28 08:57:54 +0000
commit6b5da1a3dd326d0fe0f59ec1ea7b9b5d72b2a49e (patch)
treeb1a08a246949f6eaa2c13a854f21f79da587517c /ext/PerlIO
parent24f59afc531955e5c3768c6023fb2ac247d6939d (diff)
downloadperl-6b5da1a3dd326d0fe0f59ec1ea7b9b5d72b2a49e.tar.gz
Use (file PerlIO::Layer 'perlio') rather than $Config{useperlio}
as gate on layer tests which fail on -Dusesfio (ext/XS/Typemap/Typemap.t still fails on -Dusesfio) p4raw-id: //depot/perlio@16245
Diffstat (limited to 'ext/PerlIO')
-rw-r--r--ext/PerlIO/PerlIO.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/PerlIO/PerlIO.t b/ext/PerlIO/PerlIO.t
index d3de7051e8..3be0f6af36 100644
--- a/ext/PerlIO/PerlIO.t
+++ b/ext/PerlIO/PerlIO.t
@@ -2,7 +2,7 @@ BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
require Config; import Config;
- unless ($Config{'useperlio'}) {
+ unless (find PerlIO::Layer 'perlio') {
print "1..0 # Skip: PerlIO not used\n";
exit 0;
}