in reply to Re: Capitalize the 1st letter of each word
in thread Capitalize the 1st letter of each word

An easier regex/substitution would be:
my @array = qw/one Two three four five/; s/(.)/\u\L$1/ for @array;