Perl programming on MPE/iX - April 2002
Solution Symposium Page 15April 4, 2002
relational operators
• numeric comparisons:
• < > <= >= == != <=>
• <=> returns -1, 0, or 1 depending on whether the left argument is
numerically less than, equal to, or greater than the right argument
• string comparsions:
• lt gt le ge eq ne cmp
• cmp returns -1, 0, or 1 depending on whether the left argument is
stringwise less than, equal to, or greater than the right argument