Since you didn't provide any code, I'll assume that you know how to iterate over the keys of the hash, etc.
If the list of numbers and ranges in each value is in numerical order, you could use Set::IntSpan. If you need more help, please be more specific. Also, don't forget about Super Search. number sequence offers many solutions that solve this problem - please refer to that node for more information.
In reply to Re: hash with multiple values per key
by bobf
in thread hash with multiple values per key
by nidhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |