Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How do I find out if a hash is empty?

by Pug (Monk)
on Jun 11, 2002 at 22:38 UTC ( [id://173681]=note: print w/replies, xml ) Need Help??


in reply to How do I find out if a hash is empty?

This seems to work.. As to why? I don't know.
my %t; if (!%t) { print "Empty"; } else { print "Not Empty\n"; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found