Perl Programming/Keywords/else

Previous: each Keywords Next: elsif

The else keywordEdit

else is the keyword used to add an unconditional branch to an if … [end if] … statement.

SyntaxEdit

  if EXPRESSION else EXPRESSION

See alsoEdit

Previous: each Keywords Next: elsif