in reply to Changing the first word to uppercase

I must be missing something. Why all the regexes?

perl -pe "$_=ucfirst" infile > outfile

Update: Ah, first word, not first letter. Time for another five-year hiatus, I guess, as my reading comprehension has atrophied.