logie17 has asked for the wisdom of the Perl Monks concerning the following question:
Thank you for any input.my $data = <DATA>; $data =~ s/\b(\w{1})(\w*)/\u$1\L$2/g; print $data; __DATA__ balh balh aLhKKjal dfjsdlkj IUfJ
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex Typecase
by merlyn (Sage) on Aug 14, 2007 at 01:26 UTC | |
by logie17 (Friar) on Aug 14, 2007 at 01:31 UTC | |
|
Re: Regex Typecase
by wind (Priest) on Aug 14, 2007 at 02:03 UTC | |
|
Re: Regex Typecase
by Your Mother (Archbishop) on Aug 14, 2007 at 06:05 UTC | |
by halley (Prior) on Aug 14, 2007 at 14:39 UTC |