Perl Programming/Keywords/uc
Appearance
The uc keyword
[edit | edit source]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 | edit source] lc EXPRESSION
Examples
[edit | edit source] link OLD_FILE, NEW_FILE;