Jump to content

Perl Programming/Keywords/ne

From Wikibooks, open books for an open world
Previous: my Keywords Next: next

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
Previous: my Keywords Next: next