Perl Programming/Keywords/unless
< Perl Programming | Keywords
The unless keyword[edit | edit source]
unless is a flow-control keyword. The EXPRESSION is called the condition.
Syntax[edit | edit source]
unless EXPRESSION
Example[edit | edit source]
go_outside() and play() unless $it_is_raining;