modulus · 1 Apr 2004, 12:04 am To force each word in a line to be lower case, with the first letter upper case: $line =~ s/(\w+)/\u\L$1/g; hth