From d5710a63cc50f4f57fa258bc17d70d8fb3bef5b4 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Wed, 2 Jun 2021 15:15:46 -0700 Subject: [PATCH] More fixes per some stuff Grinnz found --- pod/perlfunc.pod | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index e5d0fa5c8520..baf17b3f4f3b 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -3900,7 +3900,6 @@ Returns a lowercased version of EXPR. If EXPR is omitted, uses L|perlvar/$_>. my $str = lc("Perl is GREAT"); # "perl is great" - my $str = lc(undef); # undef What gets returned depends on several factors: @@ -3945,14 +3944,14 @@ Unicode rules are used for the case change. ASCII rules are used for the case change. The lowercase of any character outside the ASCII range is the character itself. +=back + B This is the internal function implementing the L|perlop/"Quote and Quote-like Operators"> escape in double-quoted strings. my $str = "Perl is \LGREAT\E"; # "Perl is great" -=back - =item lcfirst EXPR X X @@ -9346,7 +9345,6 @@ Returns an uppercased version of EXPR. If EXPR is omitted, uses L|perlvar/$_>. my $str = uc("Perl is GREAT"); # "PERL IS GREAT" - my $str = uc(undef); # undef This function behaves the same way under various pragmas, such as in a locale, as L|/lc EXPR> does.