=over

=item ucfirst EXPR
X<ucfirst> X<uppercase>

=item ucfirst

Returns the value of EXPR with the B<first> character in uppercase
(Unicode calls this titlecase). If EXPR is omitted, C<ucfirst> uses L<C<$_>|perlvar/$_>.

    my $str = ucfirst("hello world!"); # "Hello world!"

This function behaves the same way under various pragmas, such as in a locale,
as L<C<lc>|/lc EXPR> does.

B<Note:> This is the internal function implementing the C<\u> escape in
double-quoted strings.

    my $str = "\uperl\E is great"; # "Perl is great"

=back