Perl Programming/Keywords/ne
< Perl Programming | Keywords
The ne keyword[edit | edit source]
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 | edit source]
EXPRESSION ne EXPRESSION