http://www.perlmonks.org?node_id=7318


in reply to RE: myQuestion.pl
in thread myQuestion.pl

By two sets, do you mean "eq" and "==", "gt" and ">", etc.?

A string comparison is much different than a numeric comparison. Look:

$string = "556foo"; $num = 556; print "string comparison equal" if $string eq $num; print "num comparison equal" if $string == $num;
The result?
num comparison equal
So if these are the sets of operators that you're referring to, they're definitely not redundant; you couldn't simply drop one set and have the same functionality as you do now.

Are you proposing that we differentiate between string and numeric comparisons in some other way than the operators?