perl lowercase code example Example: perl lowercase # create a perl string $a = 'FOO BAR'; # convert the string to lowercase $b = lc $a;