if (any(any("tall", "rich")) eq any(all("ugly"), all("tall", "rich"))) { print "yes\n"; }