in reply to How do I find out if a hash is empty?
my %t; if (!%t) { print "Empty"; } else { print "Not Empty\n"; } [download]