Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of uninitialized value $length in numeric eq (==) in UCD.pm #22943

Open
jidanni opened this issue Jan 27, 2025 · 1 comment
Open

Use of uninitialized value $length in numeric eq (==) in UCD.pm #22943

jidanni opened this issue Jan 27, 2025 · 1 comment

Comments

@jidanni
Copy link
Member

jidanni commented Jan 27, 2025

perl 5.40. More checking is needed here to avoid showing the user an unintended internal error:

$ echo 八|perl -CS -Mutf8 -wle 'use Unicode::UCD qw(num); print num($_);'
Use of uninitialized value $length in numeric eq (==) at /usr/share/perl/5.40/Unicode/UCD.pm line 2518.
@jkeenan
Copy link
Contributor

jkeenan commented Jan 28, 2025

perl 5.40. More checking is needed here to avoid showing the user an unintended internal error:

$ echo 八|perl -CS -Mutf8 -wle 'use Unicode::UCD qw(num); print num($_);'
Use of uninitialized value $length in numeric eq (==) at /usr/share/perl/5.40/Unicode/UCD.pm line 2518.

@khwilliamson could you take a look at this? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants