< Perl Programming < Keywords

The elsif keyword

elsif is the keyword used to add another conditional branch to an if statement. The keywords else if do the same.

Syntax

  if EXPRESSION elsif 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.