summaryrefslogtreecommitdiff
path: root/t/lib/io_scalar.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/io_scalar.t')
-rw-r--r--t/lib/io_scalar.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/io_scalar.t b/t/lib/io_scalar.t
index b1ef199a5c..8368e666b9 100644
--- a/t/lib/io_scalar.t
+++ b/t/lib/io_scalar.t
@@ -3,7 +3,7 @@
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
- unless (exists $open::layers{'perlio'}) {
+ unless (find PerlIO::Layer 'perlio') {
print "1..0 # Skip: not perlio\n";
exit 0;
}