in reply to Testing if a HoH key exists

I think it's because you are dereferencing your hash, so it is no longer a key, but a value. Try just:

exists $rHoH_ProteinFamilies->{$proteinfamily}->{$PROTEIN}

Replies are listed 'Best First'.
Re^2: Testing if a HoH key exists
by Jeri (Scribe) on Nov 11, 2011 at 17:09 UTC
    That worked! Thanks. Before I was iterating through the hash using a for loop and forgot that I was still using an entire hash and not a element.