Skip Menu |

This queue is for tickets about the Unicode-String CPAN distribution.

Report information
The Basics
Id: 116509
Status: resolved
Priority: 0/
Queue: Unicode-String

People
Owner: Nobody in particular
Requestors: michele.r.berg [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
On Tue Jul 26 23:30:44 2016, michele.r.berg@gmail.com wrote: Show quoted text
> 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()?)
I just ran into this today as well. Would be great to see it fixed. Olaf
Subject: Re: [rt.cpan.org #116509] Bug Fix for Unicode-CharName
Date: Tue, 30 Aug 2016 09:23:22 -0500
To: bug-Unicode-String [...] rt.cpan.org
From: Michele Berg <michele.r.berg [...] gmail.com>
There's a fix out on GitHub - a link and a tarball are in one of the earlier bug reports. However, if you're doing something like using cpanm in a Dockerfile to pull a complete list of modules you need, obviously that doesn't help much. I contacted the module author/maintainer directly and asked them to push the fix, but have received no response. Michele On Mon, Aug 29, 2016 at 12:45 PM, Olaf Alders via RT < bug-Unicode-String@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=116509 > > > On Tue Jul 26 23:30:44 2016, michele.r.berg@gmail.com wrote:
> > 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()?)
> > I just ran into this today as well. Would be great to see it fixed. > > Olaf >
Unicode-String-2.10 has been uploaded to CPAN.