Beefy Boxes and Bandwidth Generously Provided by pair Networks
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 reply to What is the most efficient way to see if a hash is empty?

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
  • Comment on Re: What is the most efficient way to see if a hash is empty?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://760771]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-20 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found