Ok, so you want to see if the hash in that value is empty... I think I get you now ;) Try this:
if (%{$hh{'QUESTION_TEXT'}}){ # do stuff... } else { # it's empty, so do different stuff... }
It dereferences the inner hashref, and checks if it isn't null (empty).
-stevieb
In reply to Re^5: how to identify a null hash value
by stevieb
in thread how to identify a null hash value
by smartyollie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |