Perl function.

uc [EXPR]

Returns an uppercase version of its argument, or $_ if given no arguments. As with lc, . has a higher precedence than uc, so be cautious when using it without parentheses.

uc $foo is equivalent to "\U$foo".

See also ucfirst, lc, and lcfirst, or Perl for the full function list.

Log in or register to write something here or to contact authors.