Do you know where your variables are? | |
PerlMonks |
Re: Definition of numerically equal and rationale for 'you' == 'me'by JavaFan (Canon) |
on Mar 01, 2012 at 21:59 UTC ( [id://957331]=note: print w/replies, xml ) | Need Help?? |
What is the definition of numerically equal?That their numeric values are equal. The numeric value of a string is the value of the longest prefix of the string that "looks like a number". In the case of "you" and "me", the longest such prefixes are the empty string. The numeric value of an empty string is 0. And 0 == 0 is true.
In Section
Seekers of Perl Wisdom
|
|