P is for Practical | |
PerlMonks |
Re^5: Capitalize First Letter of Each Wordby suaveant (Parson) |
on Jun 30, 2005 at 14:36 UTC ( [id://471340]=note: print w/replies, xml ) | Need Help?? |
That finishing space is completely extraneous... the \b at the front basically is as well.
Space is not a word char, so will be just fine if left alone. The \w at the beginning is basically implying \b, since it will only start to match where a word char is.
In Section
Seekers of Perl Wisdom
|
|