Perl Programming/Keywords/ne

Previous: my Keywords Next: next

The ne keyword

edit

ne is a relational operator that returns 1 for true, if the lefthand and righthand side are not equal, and an empty string for false. In contrast, ǃ= checks for numerical inequality.

Syntax

edit
  EXPRESSION ne EXPRESSION
Previous: my Keywords Next: next