Perl Programming/Keywords/eq

Previous: eof Keywords Next: eval

The eq keyword edit

eq is a relational operator that returns 1 for true, if the lefthand side is stringwise equal to the righthand side, and an empty string ̈("") for false.

Syntax edit

  EXPRESSION eq EXPRESSION
Previous: eof Keywords Next: eval