And the root of that is that Perl 5 chooses to determine the operation by the verb (operator) instead of the type of the subjects, which is conveniently hidden behind the "scalar" which can be an integer, float, string or reference.
For example Javascript overloads + to mean either concatenation or addition, based on the type of the left operand, which forces people to write explicit coercions just to be save, ie 0 + a + b or '' + a + b. In Perl 5 that would just be $a + $b vs $a . $b. The same goes for the comparison operations: the operator determines the type of operation.
In reply to Re^2: Definition of numerically equal and rationale for 'you' == 'me'
by moritz
in thread Definition of numerically equal and rationale for 'you' == 'me'
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |