in reply to Capitalize the first letter of each word
Greetings all,
Yet another way to do it.
-InjunJoel
Yet another way to do it.
produces:use strict; my $text = "to say it once"; $text =~ s/(\w+)/\u\L$1/g; print $text;
To Say It Once
-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo
In Section
Seekers of Perl Wisdom