Perl Programming/Keywords/unless

Previous: UNITCHECK Keywords Next: unlink

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

Previous: UNITCHECK Keywords Next: unlink
Category:Book:Perl Programming#Keywords/unless%20
Category:Book:Perl Programming