Perl Programming/Keywords/ne

The ne keyword

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

  EXPRESSION ne EXPRESSION