in reply to hash with multiple values per key
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.
|
|---|