[Bug 834867] New: [PATCH] "defined(%hash) is deprecated" warning in Unicode::CharName

bugzilla at redhat.com bugzilla at redhat.com
Sun Jun 24 12:29:14 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=834867

            Bug ID: 834867
        QA Contact: extras-qa at fedoraproject.org
          Severity: unspecified
  External Bug URL: http://bugs.debian.org
           Version: 16
          Priority: unspecified
                CC: emmanuel.seyman at club-internet.fr,
                    perl-devel at lists.fedoraproject.org
          Assignee: emmanuel.seyman at club-internet.fr
           Summary: [PATCH] "defined(%hash) is deprecated" warning in
                    Unicode::CharName
        Regression: ---
      Story Points: ---
    Classification: Fedora
                OS: Unspecified
          Reporter: paul at city-fan.org
              Type: Bug
     Documentation: ---
          Hardware: Unspecified
        Mount Type: ---
            Status: NEW
         Component: perl-Unicode-String
           Product: Fedora
   External Bug ID: Debian BTS 657144

Created attachment 593995
  --> https://bugzilla.redhat.com/attachment.cgi?id=593995&action=edit
Debian patch fixing the warning

On newer perls (all current Fedora releases including 15 are affected), use of
this module results in a deprecation warning. It's visible in the test suite:

$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/byteswap.t ... ok
defined(%hash) is deprecated at
/builddir/build/BUILD/Unicode-String-2.09/blib/lib/Unicode/CharName.pm line 80.
        (Maybe you should just omit the defined()?)
t/charname.t ... ok
t/encoding.t ... ok
t/op.t ......... ok
t/ord.t ........ ok
t/stringify.t .. ok
All tests successful.
Files=6, Tests=112,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.10 cusr  0.02
csys =  0.16 CPU)
Result: PASS

Attached patch is from the debian bug for the same issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the perl-devel mailing list