in reply to Logical expression evaluation

Take into account that also the string '0' is considered as a false value in Perl, even if it's a non empty string. Regarding this, you'll probably find The best "true zero" is... poll useful for some popular workarounds.

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.