ucfirst
Perl's ucfirst() function takes a string, makes the first character uppercase, and then returns the new string.
$myName = 'andrew';
$myUpperName = ucfirst($myName);
First, $myName is set to a value of 'andrew', then the ucfirst() function is run on $myName. The ucfirst() function takes the first character of $myName (in this case 'a') and converts it to it's uppercase equivalent. The value of $myUpperName is then equal to 'Andrew'.