1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Fix deprecation warning caused by defined(%hash) use
Origin: vendor
Bug: http://rt.cpan.org/Public/Bug/Display.html?id=74354
Bug-Debian: http://bugs.debian.org/657144
Forwarded: yes
Author: Justin B Rye <jbr@edlug.org.uk>
Reviewed-by: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2012-01-29
--- a/lib/Unicode/CharName.pm
+++ b/lib/Unicode/CharName.pm
@@ -77,7 +77,7 @@
return join("", "HANGUL SYLLABLE ", @s)
}
}
- _init_names() unless defined %NAMES;
+ _init_names() unless %NAMES;
$NAMES{sprintf("%04X",$code)}
}
|