Mega Code Archive

 
Categories / Perl / String
 

Converting a string to all lowercase with the lc function

#!/usr/bin/perl -w $upper = "ALL UPPERCASE"; $lower = lc($upper); print "$lower\n";