< Perl Programming < Keywords
The else keyword
else is the keyword used to add an unconditional branch to an if … [end if] … statement.
Syntax
if EXPRESSION else EXPRESSION
See also
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.