$KeyWord = ucfirst($KeyWord);
Is there any easy way to modify that so that it will capitalize the first letter of each word in the string, like ucwords() in PHP? (I did a search for 'perl ucwords' and got some results, but when I tried it, it caused a software error in the script.)
Thanks,
Matthew
My only other concern is that it is not a core module and has a dependency: HTML::Entities , both would have to be installed by the user, which seems like more effort than necessary since a simple regexp will suffice for this situation.