Subject: | "charprop" is not exported by the Unicode::UCD module |
The test suite fails for older perls (5.20.3 and older):
...
# Failed test 'use Data::Random::Structure::UTF8;'
# at t/00-load.t line 10.
# Tried to use 'Data::Random::Structure::UTF8'.
# Error: "charprop" is not exported by the Unicode::UCD module
# Can't continue after import errors at /usr/home/cpansand/.cpan/build/2020041604/Data-Random-Structure-UTF8-0.03-2/blib/lib/Data/Random/Structure/UTF8.pm line 12.
# BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2020041604/Data-Random-Structure-UTF8-0.03-2/blib/lib/Data/Random/Structure/UTF8.pm line 12.
# Compilation failed in require at t/00-load.t line 10.
# BEGIN failed--compilation aborted at t/00-load.t line 10.
Bailout called. Further testing stopped:
Use of uninitialized value $Data::Random::Structure::UTF8::VERSION in concatenation (.) or string at t/00-load.t line 13.
# Testing Data::Random::Structure::UTF8 , Perl 5.016003, /usr/perl5.16.3t/bin/perl
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
*** [test_dynamic] Error code 1
...
Probably the correct solution is to specify a minimum version for Unicode::UCD. While it's not a dual life module it won't help much for users of older perls, but theoretically this could change in future.