in reply to Check array for several matches

if (exists $hash{'word1'} && exists $hash{'word2'} && exists $hash{'wo +rd3'})