In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Irina Volkova) writes:
>Stefan Lidman <[EMAIL PROTECTED]> wrote:
>> 
>> David Gerler wrote:
>> > 
>> > Hi,
>> >         I have a line of text that is all uppercase and I need to change it
>> > to titlecase. 
>Try 
>$title =~ s/\b(\w+)\b/\u\L$1/g;

The \b are redundant in that regex.

-- 
Peter Scott
http://www.perldebugged.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to