Perl Newbies

  1. Perl
  2. Functions
  3. here

uc function - Convert lowercase string to uppercase string

uc function convert lowercase string to uppercase string. Each character is converted from lowercase to uppercase if possible.

my $str = uc "aaa";

uc function programing example

uc function programing example.

use strict;
use warnings;

# Convert lowercase "aaa" to uppercase "AAA"
my $str = uc "aaa";

print "$str\n";



uc function relative information