in reply to
Correct case
What about just doing
s/\b(\w)/uc($1)/sge;
?
Comment on
Re: Correct case
Download
Code
Replies are listed 'Best First'.
Re: Correct case
by
Abigail-II
(Bishop)
on Jan 13, 2003 at 19:28 UTC
Simpler:
s/\b(\w)/\u$1/g;
[download]
Abigail
[reply]
[d/l]
In Section
Seekers of Perl Wisdom