Hi! I'm trying to see if a nested Hash key exists. If it does, I want to delete it. Here's what I've written.
if (exists %{$rHoH_ProteinFamilies->{$proteinfamily}->{$PROTEIN}}) { delete $rHoH_ProteinFamilies->{$proteinfamily}->{$PROTEIN}; }
Here's the error.
exists argument is not a HASH or ARRAY element or a subroutine at HoH.pl line 123.Thanks in advance!
In reply to Testing if a HoH key exists by Jeri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |