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
See also ucfirst, lc, and lcfirst, or Perl for the full function list.