Perl Programming/Keywords/else

Previous: each Keywords Next: elsif

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

Previous: each Keywords Next: elsif
Category:Book:Perl Programming#Keywords/else%20
Category:Book:Perl Programming