1. if (@an_array) { print "has array elements\n" } 2. if (%a_hash) { print "has hash members\n" }