in reply to hash compare
Comparison of strings such as filenames should use the cmp operator which will return -1, 0 or +1 to show which value comes first.
Comparison of numerical values should use <=> which will also return -1, 0 or +1 to show which value is bigger.
Zero meaning the two values are equal, of course
|
|---|