diff options
author | Karl Williamson <khw@cpan.org> | 2014-06-13 11:18:01 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-06-13 11:26:23 -0600 |
commit | b06e47f717f77453fbdaef628efc2b9c83898a8b (patch) | |
tree | 9cba1989ce8280dcbe27e776e6e23ab77913a28e /t/uni/tr_utf8.t | |
parent | a4b696951ea801ba452306a587df4150144074b0 (diff) | |
download | perl-b06e47f717f77453fbdaef628efc2b9c83898a8b.tar.gz |
Experimentally cause 'use encoding' to fail.
This actually doesn't remove it, but causes any program that does use it
to die. Its use has raised a (default-on) deprecation warning since
5.18, but its demise was omitted from the perldelta for v5.20.
This commit does the minimum necessary to flush out what might break by
its actual removal, while being easily revertable should that become
necessary.
Diffstat (limited to 't/uni/tr_utf8.t')
-rw-r--r-- | t/uni/tr_utf8.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/uni/tr_utf8.t b/t/uni/tr_utf8.t index 2a566d91b9..01a26bc270 100644 --- a/t/uni/tr_utf8.t +++ b/t/uni/tr_utf8.t @@ -6,6 +6,7 @@ BEGIN { require './test.pl'; + skip_all("'use encoding' has been removed"); skip_all_without_dynamic_extension('Encode'); skip_all("EBCDIC") if $::IS_EBCDIC; skip_all_without_perlio(); |