in reply to question about what to grep(?)
I've got a hash whose keys are arrays
No you don't, thats impossible, keys can only be strings