Posts Tagged ‘uppercase to lowercase’

Perl – Uppercase to Lowercase Conversion via the Translation Operator

Wednesday, January 4th, 2012

Perl’s translation operator provides a way to substitute one group of characters for another. In the below script I demonstrate how easy it is to use the translation operator to convert standard input from the command prompt from uppercase letters to lowercase. You can also use Perl’s lc() function to accomplish the same thing more easily. (more…)

Twitt