Perl Programming/Keywords/gt

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Previous: grep Keywords Next: hex

The gt keyword[edit | edit source]

gt is a relational operator that returns 1 for true, if the lefthand side is stringwise greater than the righthand side, and an empty string for false.

Syntax[edit | edit source]

  EXPRESSION gt EXPRESSION
Previous: grep Keywords Next: hex