Help for this page
if (defined $hash->{A} && defined $hash->{B} && defined $hash->{C}) { }
my $hash = { A => 1, B => 1, C => 1, }; if (grep /1/, map { !defined $hash->{$_} } qw(A B C)) { ... } else { print "All there!\n"; }