Perl Programming/Keywords/eq

The eq keyword

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

  EXPRESSION eq EXPRESSION