Perl Programming/Keywords/else
< Perl Programming | Keywords
The else keyword
[edit | edit source]else is the keyword used to add an unconditional branch to an if … [end if] … statement.
Syntax
[edit | edit source] if EXPRESSION else EXPRESSION