Perl Programming/Keywords/eq

Previous: eof Keywords Next: eval

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
Previous: eof Keywords Next: eval
Category:Book:Perl Programming#Keywords/eq%20
Category:Book:Perl Programming