Dear Perlmonks, I have this huge hash that contains many five character keys, I want to make a subroutine that: if i give it for example two characters will foreach hash key calculate how many percent matches: if 1 character is in the hash key it is 1/5, with two it is 2/5 and multiply that number with the number associated with the hash key it has that many percent match with. Does anybody know how I could build such a thing or give helpful advice:)? Thank you so much in advance.
In reply to Perl hash comparison by robertw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |