Returns an uppercased version of EXPR. If EXPR is omitted, uses$_.
my $str = uc("Perl is GREAT"); # "PERL IS GREAT"This function behaves the same way under various pragmas, such as in a locale, aslc does.
If you want titlecase mapping on initial letters seeucfirst instead.
Note: This is the internal function implementing the\U escape in double-quoted strings.
my $str = "Perl is \Ugreat\E"; # "Perl is GREAT"Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.
The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.