I have a hashref of the following format:
{
introduction_to_systems => {
writer => "John",
owner => "Jim"
},
management_recipies => {
writer => "Jane",
owner => "Jim"
},
etc
}
The issue I have is that this hash is not very convenient. I would also like to be able to find easily everything that is owned by "Jim" or "John" is the writer.
Basically I need 2 inverses of this hashtable.
What is the most efficient way to do this in perl?