Perl Programming/Keywords/unless

Previous: UNITCHECK Keywords Next: unlink

The unless keyword Edit

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

Syntax Edit

  unless EXPRESSION

Example Edit

go_outside() and play() unless $it_is_raining;

See also Edit

Previous: UNITCHECK Keywords Next: unlink