perl -e '$x="\nYo "; print ($x ? $x.="hello" : $x.="Bye");' #### perl -e '$x="\nYo "; if ($x) {print $x."hello";} else {print $x."Bye";}'