if ( () = keys %hash ) { # has data } else { # no data } [download]
In reply to Re: checking to see if a hash has data by borisz in thread checking to see if a hash has data by Anonymous Monk