summaryrefslogtreecommitdiff
path: root/lib/dumpvar.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dumpvar.t')
-rw-r--r--lib/dumpvar.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dumpvar.t b/lib/dumpvar.t
index dff7bb23dc..9dddddcd4a 100644
--- a/lib/dumpvar.t
+++ b/lib/dumpvar.t
@@ -3,6 +3,10 @@
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
+ unless (find PerlIO::Layer 'perlio') { # no perlio, no PerlIO::scalar.
+ print "1..0 # Skip: not perlio\n";
+ exit 0;
+ }
}
use strict;