This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Cannot do perlio into scalars without perlio.
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 9 Sep 2003 07:06:26 +0000 (07:06 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 9 Sep 2003 07:06:26 +0000 (07:06 +0000)
p4raw-id: //depot/perl@21127

lib/dumpvar.t

index dff7bb2..9dddddc 100644 (file)
@@ -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;