CARVIEW |
Select Language
HTTP/2 200
server: nginx
content-type: text/html;charset=UTF-8
content-encoding: gzip
content-security-policy: default-src 'self'; connect-src 'self' *.google-analytics.com; img-src 'self' data: www.google-analytics.com www.googletagmanager.com; script-src 'self' 'unsafe-inline' www.google-analytics.com www.googletagmanager.com; style-src 'self'; report-uri /csp-reports
accept-ranges: bytes
age: 0
date: Mon, 28 Jul 2025 09:37:13 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210088-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753695433.001244,VS0,VE851
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 2965
uc - Perldoc Browser
- #uc EXPR
- #uc
-
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, as
lc
does.If you want titlecase mapping on initial letters see
ucfirst
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 the GitHub issue tracker or email 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 the Perl issue tracker, the mailing list, or IRC to report any issues with the contents or format of the documentation.