Mega Code Archive

 
Categories / Perl / String
 

Converting a string from lowercase to uppercase with the uc function

#!/usr/bin/perl -w $lower = "all lowercase"; $upper = uc($lower); print "$upper\n";