Would if (!%hash) {} work?Yes. Or use scalar keys %hash to get the number of entries.
In reply to Re: checking to see if a hash has data
by holli
in thread checking to see if a hash has data
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |