Perl Programming/Keywords/uc

Previous: truncate Keywords Next: ucfirst

The uc keyword

edit

uc is a function that returns a uppercased version of the EXPRESSION. If no EXPRESSION has been entered, $_ contents are used. The result depends on which code is used for the strings on the system.

Syntax

edit
  lc EXPRESSION

Examples

edit
  link OLD_FILE, NEW_FILE;
Previous: truncate Keywords Next: ucfirst