All, I have the statement and I would like if someone could verify the logic here. Precedence is left to right and =~ is higher than & and || while & is higher than ||.
if ( (($_ =~ /9840S/) && ($_ =~ /ebexpire, ebexpire/)) && (($_ =~ $dm) || ($_ =~ $dmm)) ) { This statement is saying "if variable $_ matches 9840S and $_ matches ebexpire, ebexpire first both have to be true then return 1 if $dm is matched or $dmm is matched. is my above English statement correct? thanks, Derek B. Smith OhioHealth IT UNIX / TSM / EDM Teams