##
condition ? {statement 1; statement 2} : {statement 3; statement 4}
##
##
$ perl -e 'print "hello\n" and print "bye\n" if 1'
hello
bye
##
##
$ perl -e 'print("hello\n"), print "bye\n" if 1'
hello
bye
##
##
$ perl -e '1 ? (print "hello\n" and print "bye\n") : (print "hello2\n" and print "bye2\n")'
hello
bye