Perl Programming/Keywords/not

Previous: no Keywords Next: oct

The not keyword

edit

not is the negation operator. It is semantically equivalent to ǃ, but has very low precedence.

Syntax

edit
  not EXPRESSION
  OPERATOR not EXPRESSION

Examples

edit
  if ($a + 20 == 22 and not $a*5 == 30) {  };
  []
}
Previous: no Keywords Next: oct