summaryrefslogtreecommitdiff
path: root/t/op
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2014-11-10 23:54:46 +0000
committerKarl Williamson <khw@cpan.org>2014-11-20 21:45:18 -0700
commitd5b4785c1592d741608f5cff697058cc284db4eb (patch)
tree4170769d989417e9385b841ad564798d2ca964db /t/op
parent050e2cbf5b64f9dc68666087f3ade51b110a3194 (diff)
downloadperl-d5b4785c1592d741608f5cff697058cc284db4eb.tar.gz
Deprecate setting ${^ENCODING}
The commiter added a no warnings in t/op/leaky-magic.t, and made other minor changes because of rebasing issues.
Diffstat (limited to 't/op')
-rw-r--r--t/op/leaky-magic.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/op/leaky-magic.t b/t/op/leaky-magic.t
index 371f3acbd6..dd94d30aa8 100644
--- a/t/op/leaky-magic.t
+++ b/t/op/leaky-magic.t
@@ -34,6 +34,7 @@ ok !scalar keys %foo::SIG, "%foo::SIG";
use tests 4; # rw ${^LETTERS} variables
for(qw< CHILD_ERROR_NATIVE ENCODING UTF8CACHE WARNING_BITS >) {
+ no warnings 'deprecated'; # ENCODING is deprecated;
my $name = s/./"qq|\\c$&|"/ere;
local $$name = 'swit';