Is the above doing what I think it is doing, making sure that both status1 and status2 is matches the expression "Running"? Or should I be explicit about it, like so:if (($STATUS1 & $STATUS2) =~ m/^Running$/i) { print "match\n"; }
if (($STATUS1 =~ m/^Running$/i) & ($STATUS2 =~ m/^Running$/i)) { print "match\n"; }
In reply to comarison synthax question by perlknight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |