⭐ in reply to How to check whether a hash is empty (has no keys)?
if( keys %hash ) { # There are keys } else { # There are no keys } [download]