develooper Front page | perl.perl5.changes | Postings from May 2020

[Perl/perl5] 6464d5: charnames: Explicitly return undef for emptyinput

From:
Karl Williamson
Date:
May 13, 2020 12:49
Subject:
[Perl/perl5] 6464d5: charnames: Explicitly return undef for emptyinput
Message ID:
Perl/perl5/push/refs/heads/smoke-me/khw-charnames/ecec7f-6464d5@github.com
  Branch: refs/heads/smoke-me/khw-charnames
  Home:   https://github.com/Perl/perl5
  Commit: 6464d5795ec4e724e3105844a05f2accb176c371
      https://github.com/Perl/perl5/commit/6464d5795ec4e724e3105844a05f2accb176c371
  Author: Karl Williamson <khw@cpan.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M lib/_charnames.pm
    M lib/charnames.pm
    M lib/charnames.t

  Log Message:
  -----------
  charnames: Explicitly return undef for empty input

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

This fixes #17768



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About