Bug#657144: libunicode-string-perl: defined(%hash) is deprecated at /usr/lib/perl5/Unicode/CharName.pm line 80

Justin B Rye jbr at edlug.org.uk
Tue Jan 24 13:09:26 UTC 2012


Package: libunicode-string-perl
Version: 2.09-4+b2
Severity: minor
Tags: patch

This module emits an error if you so much as look at it:

 $ perl -e 'use Unicode::CharName;'
 defined(%hash) is deprecated at /usr/lib/perl5/Unicode/CharName.pm line 80.
         (Maybe you should just omit the defined()?)

Personally I'd prefer to follow the advice of the package description
and just use Perl 5.14's integrated Unicode support; but this module's
a dependency of wdg-html-validator and debian-edu-config, among other
things, and it's practically handing me the patch, so here it is.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libunicode-string-perl depends on:
ii  libc6                       2.13-24
ii  perl [libmime-base64-perl]  5.14.2-6
ii  perl-base [perlapi-5.14.2]  5.14.2-6

libunicode-string-perl recommends no packages.

libunicode-string-perl suggests no packages.

-- no debconf information

-- 
JBR
Ankh kak! (Ancient Egyptian blessing)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: un-defined.patch
Type: text/x-diff
Size: 506 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20120124/90dd5828/attachment.patch>


More information about the pkg-perl-maintainers mailing list