Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: What is the most efficient way to see if a hash is empty?by planetscape (Chancellor) |
on Apr 28, 2009 at 22:34 UTC ( [id://760771]=note: print w/replies, xml ) | Need Help?? |
In the CB, some wise monk (my apologies - I can't remember who) - suggested that scalar(%h) might do it I believe that very wise Monk was our own CountZero. :-) HTH, planetscape
In Section
Seekers of Perl Wisdom
|
|