perl -e '1 ? print "hello1\n" : print "hello2\n" if 1' hello1