E
ee
Hi
Is there a simple way of searching the keys of a Hash to find a subset.
I have a set of keys with two values indicating group and sub-group,
eg:
group_1_item_1
group_2_item_2
group_1_item_2
group_1_item_4
group_2_item_3
I'd like to divide them into groups, but without having to loop through
the entire collection and having to test each key
Regards
Erik
Is there a simple way of searching the keys of a Hash to find a subset.
I have a set of keys with two values indicating group and sub-group,
eg:
group_1_item_1
group_2_item_2
group_1_item_2
group_1_item_4
group_2_item_3
I'd like to divide them into groups, but without having to loop through
the entire collection and having to test each key
Regards
Erik