Think about Loose Coupling | |
PerlMonks |
Re: Hashes: Find similar entries!by hdb (Monsignor) |
on Dec 17, 2015 at 08:10 UTC ( [id://1150597]=note: print w/replies, xml ) | Need Help?? |
In a similar line of thought as Corion's I would rather consider distance than similarity. You could use the square root of sum of square of the differences of entries in your list (a.k.a. Euklidean distance) and then call the ones similar that are close with respect to that measure of distance.
In Section
Seekers of Perl Wisdom
|
|