Perl: the Markov chain saw | |
PerlMonks |
Re: JAPH palindrome.by blokhead (Monsignor) |
on Sep 24, 2010 at 23:11 UTC ( [id://861910]=note: print w/replies, xml ) | Need Help?? |
Cute idea, but the reverse of this line:
is not what you have written; it's this unfortunate thing: But the code you have does not rely on those parentheses being there, so you are safe. Also, you have no space in X__ATAD__, but you have a space in __DATA__ X. I guess the "plain-language" definition of a palindrome does ignore spaces. Presumably that can only make the task easier in Perl.. blokhead
In Section
Obfuscated Code
|
|