< Perl Programming < Keywords

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
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.