in reply to Re^2: Find all keys from a value in a hash
in thread Find all keys from a value in a hash
One thing that I like about this approach is to use anon ref's to array for all of the values if any key can be associated with more than a single color. This eliminates the checking of "if ref".