This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
charnames: Explicitly return undef for empty input
authorKarl Williamson <khw@cpan.org>
Wed, 13 May 2020 04:18:54 +0000 (22:18 -0600)
committerSawyer X <xsawyerx@cpan.org>
Wed, 27 May 2020 08:09:54 +0000 (11:09 +0300)
commita39c5dfbc6cedea1c77a56bd4e4febee38a812c1
tree5f49d1efd203751b754f13f5ced6a34775d3faa0
parentda3350397f4030c098c43eb8ce4ea964e886d2eb
charnames: Explicitly return undef for empty input

Rather it returns an empty list for undefined or zero width input names.

This fixes #17768
lib/_charnames.pm
lib/charnames.pm
lib/charnames.t