Welcome to the Monastery | |
PerlMonks |
Re^2: Case conversionby inman (Curate) |
on Sep 01, 2005 at 15:54 UTC ( [id://488408]=note: print w/replies, xml ) | Need Help?? |
Why type y/a-zA-Z/A-Za-z/ when you can type my $inverted = join '', map {$_ = uc eq $_ ? lc : uc} split //, $input;
In Section
Seekers of Perl Wisdom
|
|