( $var ? print 'yes' : print 'no' ) #### if ( $var ) { print 'yesy'; } else { print 'no'; }