my %t; if (!%t) { print "Empty"; } else { print "Not Empty\n"; }