Error in Perl FAQ

[email protected] (Richard Thomas)
Newsgroups perl.perlfaq.workers
Message-ID <[email protected]>
There appears to be an error in PerlFAQ4 in the section "How do I 
capitalize all the words on one line?".

It seems that

$string =~ /([\w']+)/\u\L$1/g;

is missing an 's' and should read

$string =~ s/([\w']+)/\u\L$1/g;

All the best and keep up the good work

Rich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.