Perl Programming/Keywords/elsif
< Perl Programming | Keywords
Previous: else | Keywords | Next: END |
elsif is the keyword used to add another conditional branch to an if statement. The keywords else if do the same.
if EXPRESSION elsif EXPRESSION [else EXPRESSION]
Previous: else | Keywords | Next: END |