Perl Monk, Perl Meditation | |
PerlMonks |
Re: Txet Maglning Glof, Ayobndy?by Abigail-II (Bishop) |
on Sep 16, 2003 at 08:30 UTC ( [id://291761]=note: print w/replies, xml ) | Need Help?? |
A lot of the solutions reverse the inner part of the word.
For many words, this scrambles the word, but it fails on
words where the middle part is a palindrome, like motor. I believe that the following substitution
doesn't suffer from such a problem, it will mangle all
mangable words, and it won't loop on unmangable words:
Abigail
In Section
Seekers of Perl Wisdom
|
|