< Perl Programming < Keywords

The unless keyword

unless is a flow-control keyword. The EXPRESSION is called the condition.

Syntax

  unless EXPRESSION

Example

go_outside() and play() unless $it_is_raining;

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.