Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: map and grep or clear code?by johngg (Canon) |
on Jan 31, 2012 at 11:36 UTC ( [id://950957]=note: print w/replies, xml ) | Need Help?? |
Like tobyink I think a regex solution is simpler and I would add the lower case letters to your look-up hash rather than uc'ing each letter or string in turn.
The output.
I hope this is of interest. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|