diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/encoding/warnings.pm')
-rw-r--r-- | Master/tlpkg/tlperl/lib/encoding/warnings.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/tlperl/lib/encoding/warnings.pm b/Master/tlpkg/tlperl/lib/encoding/warnings.pm index 5e6aec0c8fe..d5c41841309 100644 --- a/Master/tlpkg/tlperl/lib/encoding/warnings.pm +++ b/Master/tlpkg/tlperl/lib/encoding/warnings.pm @@ -1,5 +1,5 @@ package encoding::warnings; -$encoding::warnings::VERSION = '0.11'; +$encoding::warnings::VERSION = '0.12'; use strict; use 5.007; @@ -170,7 +170,9 @@ sub import { ], $class, ); + no warnings 'deprecated'; ${^ENCODING} = $decoder; + use warnings 'deprecated'; $^H{$class} = 1; } |