I'd like to do fuzzy lookups on keys in a hash. Assume that the hash is lexically sorted.
Is there any way to do it without cycling through the values? I know Tie::Hash::Regex does something similar but it has to grep through the entire hash. Is there any way to maybe use the B-Tree method and find closer matches until you get what you want?
I really have no idea.
Thanks
In reply to Fuzzy hash key lookups by c0bra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |