Subject: | Bug Fix for Unicode-CharName |
Date: | Tue, 26 Jul 2016 22:29:52 -0500 |
To: | bug-Unicode-String [...] rt.cpan.org |
From: | Michele Berg <michele.r.berg [...] gmail.com> |
Hello,
Unicode-String fails upon installation as of at least Perl 5.24. It
produces the following error messages:
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at
~/.cpanm/work/1469588114.37954/Unicode-String-2.09/blib/lib/Unicode/CharName.pm
line 80.
Compilation failed in require at t/charname.t line 3.
BEGIN failed--compilation aborted at t/charname.t line 3.
t/charname.t line 3 invokes the use of String::CharName. CharName.pm, line
80, has a deprecated use of the "defined" function:
_init_names() unless defined %NAMES;
This should be able to be fixed by simply *removing the 'defined' from line
80*, as described in detail in this post:
http://www.perlmonks.org/?node_id=999110
Please let me know if you want any more information about the investigation
I've done.
Thanks,
M. Berg