This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Disable ${^ENCODING}
[perl5.git] / cpan / Encode / t / enc_module.t
index 05fc6c2..3004ed2 100644 (file)
@@ -18,6 +18,10 @@ BEGIN {
     print "1..0 # encoding pragma does not support EBCDIC platforms\n";
     exit(0);
     }
+    if ("$]" >= 5.025) {
+    print "1..0 # encoding pragma not supported in Perl 5.26\n";
+    exit(0);
+    }
 }
 use lib qw(t ext/Encode/t ../ext/Encode/t); # latter 2 for perl core
 use Mod_EUCJP;