Perl programming on MPE/iX - February 2001

February 9, 2001
Solution Symposium
Page 13
hp e3000
perl
programming
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