Somewhat of a newbie question. Is there a way to test to see if a certain key/value combination exists in a hash WITHOUT looping through it? Perhaps something like the following only that tests for the existance of the key/value pair instead of only the key.
In other words, I have a new key/value pair and I want to see if that combination already exists in a hash. If it doesn't, I want to add it. If it does, I want to add it to another hash. I really don't want a loop since I will be repeating this process so many times.
Thanks in advance.