The default key generation process stringifies (the keys end up as hash keys), which removes the object nature and prevents your overloaded cmp from being called.
The only comparisons you see are for the "trim leading/trailing identical items" step that preceeds the 'longest common subsequence' algorithm (to make it faster).
- tye
In reply to Re^2: using Algorithm::Diff for floats ('bug')
by tye
in thread using Algorithm::Diff for floats
by jim_neophyte
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |