We don't bite newbies here... much | |
PerlMonks |
Re: uc() every other letterby George_Sherston (Vicar) |
on Sep 28, 2001 at 15:02 UTC ( [id://115367]=note: print w/replies, xml ) | Need Help?? |
How about a generic solution with a regex? Turn @lcase into a string, then $lcase =~ s/(\w{1})(\w{1})/{$1.uc$2}/eg; § George Sherston
In Section
Seekers of Perl Wisdom
|
|