Do you know where your variables are? | |
PerlMonks |
Re: Replacing a character in a stringby chibiryuu (Beadle) |
on Nov 15, 2005 at 21:24 UTC ( [id://508796]=note: print w/replies, xml ) | Need Help?? |
Even if you didn't know about ucfirst, it's easy enough to do with quoting: "\u$_" Or with a regex, if you didn't know about that either, but that's weird. s/(.)/uc$1/e
In Section
Seekers of Perl Wisdom
|
|