Perl Programming/Keywords/elsif
Appearance
The elsif keyword
[edit | edit source]elsif is the keyword used to add another conditional branch to an if statement. The keywords else if do the same.
Syntax
[edit | edit source] if EXPRESSION elsif EXPRESSION [else EXPRESSION]