Entweder so: if(1 eq 1) {print 'hallo';} else {print 'hallo';} oder so: if(1 eq 1) { print 'hallo'; } else { print 'hallo'; } Anstatt sowas: if(1 eq 1){print 'hallo';}else{print 'hallo';}