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_data.t
index a0caf65..b401595 100644 (file)
@@ -14,6 +14,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);
+    }
     if ($] <= 5.008 and !$Config{perl_patchlevel}){
     print "1..0 # Skip: Perl 5.8.1 or later required\n";
     exit 0;