Skip to content

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

@jidanni

Description

@jidanni

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions