Also note that scalar %hash can be evaluated in boolean context correctly (and doesn't traverse the hash internally), see perldata (iirc)
In reply to Re: What is the most efficient way to see if a hash is empty?
by moritz
in thread What is the most efficient way to see if a hash is empty?
by ELISHEVA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |