The if
and unless
statements execute blocks of code
depending on whether a condition is met. These statements take the
following forms:
if (expression
) {block
} else {block
} unless (expression
) {block
} else {block
} if (expression1
) {block
} elsif (expression2
) {block
} ... elsif (lastexpression
) {block
} else {block
}
3.15.221.133