Perl Programming/Keywords/not

Previous: no Keywords Next: oct

The not keyword

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

Syntax

  not EXPRESSION
  OPERATOR not EXPRESSION

Examples

  if ($a + 20 == 22 and not $a*5 == 30) {  };
  []
}
Previous: no Keywords Next: oct
Category:Book:Perl Programming#Keywords/not%20
Category:Book:Perl Programming