p4raw-id: //depot/perl@22956
print "1..0 # Skip: not perlio\n";
exit 0;
}
+ require Config;
+ if (($Config::Config{'extensions'} !~ /\bPerlIO::scalar\b/) ){
+ print "1..0 # Skip -- Perl configured without PerlIO::scalar module\n";
+ exit 0;
+ }
}
$| = 1;
#!./perl
-use strict;
-use warnings;
-
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
print "1..0 # Skip: not perlio\n";
exit 0;
}
+ require Config;
+ if (($Config::Config{'extensions'} !~ /\bPerlIO::via\b/) ){
+ print "1..0 # Skip -- Perl configured without PerlIO::via module\n";
+ exit 0;
+ }
}
+use strict;
+use warnings;
+
my $tmp = "via$$";
use Test::More tests => 18;