summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-05-14 04:57:19 -0300
committerJames E Keenan <jkeenan@cpan.org>2013-05-19 17:05:35 -0400
commitbb003204009d113d60d4173c3ed72b10c8169f14 (patch)
treed91b66a9cf37d5d84df35186a4b6de88188d372a
parent68e37e75ceb3b4af7e232f61d9b85c69fa687a20 (diff)
downloadperl-bb003204009d113d60d4173c3ed72b10c8169f14.tar.gz
utf8: Remove unused variable (%utf8::enc).
In its original implementation in perl 5.6, 'use utf8' accepted an encoding argument, which was saved in %utf8::enc and later used by utf8_heavy.pl to load the right files from lib/unico[rd]e. However, since 5.8 (or more specifically, 15732964418f), utf8_heavy.pl stopped using that variable, so there's no reason to keep it around in utf8.pm. Bump $VERSION in lib/utf8.pm.
-rw-r--r--lib/utf8.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/utf8.pm b/lib/utf8.pm
index 1d6992ccf0..a23209198a 100644
--- a/lib/utf8.pm
+++ b/lib/utf8.pm
@@ -2,11 +2,10 @@ package utf8;
$utf8::hint_bits = 0x00800000;
-our $VERSION = '1.10';
+our $VERSION = '1.11';
sub import {
$^H |= $utf8::hint_bits;
- $enc{caller()} = $_[1] if $_[1];
}
sub unimport {