in reply to Re^2: how to identify a null hash value
in thread how to identify a null hash value
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to identify a null hash value
by smartyollie (Novice) on Jun 04, 2015 at 21:32 UTC | |
by stevieb (Canon) on Jun 04, 2015 at 21:52 UTC | |
by aaron_baugher (Curate) on Jun 04, 2015 at 23:01 UTC | |
by smartyollie (Novice) on Jun 04, 2015 at 23:16 UTC | |
by aaron_baugher (Curate) on Jun 05, 2015 at 01:34 UTC | |
by smartyollie (Novice) on Jun 04, 2015 at 22:46 UTC |