This pales when compared to some of the nightmare code that graces these pages, but coming from a C background, doing anything in 2 lines is a foolish dream.
($o,$_)=([' isn\'t',' is'," a palindrome.\n"],shift);
print $_,map{$o->[$_]}($_ eq join"",reverse/(\w)/g),2