in reply to Multiple if-else statements using C-style ternary operator
print $status == 2 ? "HIGH " : $status == 1 ? "MODERATE " : "LOW "; [download]