$prices{'pizza'} = 12.00; $prices{'coke'} = 1.25; $prices{'sandwich'} = 3.00; if (exists($prices{'cok'})) { print "found the key 'cok' in the hash\n"; }