summaryrefslogtreecommitdiff
path: root/ext/PerlIO/PerlIO.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/PerlIO/PerlIO.t')
-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;
}