ahhh, I see. Again though, it does appear from what you've posted that $value DOES contain data, and if that's the case, all of your tests will be true.
One way to see if I'm correct in thinking you've got a defined value (hashref) is this:
print "it's a hashref\n" if ref($hh{'QUESTION_TEXT'}) eq 'HASH';
-stevieb
In reply to Re^3: how to identify a null hash value
by stevieb
in thread how to identify a null hash value
by smartyollie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |