Corion pointed out all wisdom on the subject. Just for the next time (or if you still don't succeed), please post what error you get exactly, or the exact reason why you think that
the code above is wrong. You surely agree that it's quite blurred a hint if you want a sharp answer :)
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
Don't fool yourself.