Perl Programming/Keywords/else

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