Unicode-String reviews

RSS | Module Info | Add a review of Unicode-String

Unicode-String (2.10)

It has basic errors in compilation:

rt.cpan.org/Public/Bug/Display.html?i...

The database included with the module is an old one which doesn't include the latest Unicode characters:

use Unicode::UCD 'charinfo';

use Unicode::CharName 'uname';

print uname (0x1F61C), "\n";

print charinfo (0x1f61c)->{name}, "\n";

outputs
```
defined(%hash) is deprecated at /home/ben/software/install/lib/perl5/site_perl/5.18.2/i386-freebsd/Unicode/CharName.pm line 80.

(Maybe you should just omit the defined()?)
Use of uninitialized value in print at /home/ben/charname-test.pl line 6.

FACE WITH STUCK-OUT TONGUE AND WINKING EYE
```
Even pod errors in the documentation remain unfixed:

rt.cpan.org/Public/Bug/Display.html?i...

Too bad that this module has been neglected since Unicode::UCD is incredibly heavyweight in terms of loading and also lookups, with loading taking 0.05 seconds and each call to charinfo taking about 0.10 seconds.