I'm trying to write a condition for a nested if statement, but haven't found a good example of using or in if statements. The following elsif
condition fails and allows the code nested beneath it to fire if $status == 6
:
if ($dt1 > $dt2 ) {do one thing}
elsif(($status != 3) || ($status != 6)) { do something else}
else {do something completely different}
I'd like to avoid having another elsif for each condition as the code that actually resides here is several lines long.