if (($STATUS1 & $STATUS2) =~ m/^Running$/i) { print "match\n"; }