Hi list,

I have some strange goings on in my code. and it might be the if statement.

I have the code:
if ($reason eq 'sale' && $method_of_payment != 'Purchase Order')
{
....
} else
....
}

I expect if $reason is 'sale' and $method_of_payment is "Visa" the if bleck
will execute instead of the else block. is that true?

Does this execute the if block of $reason is equal to "sale" AND
$method_of_payment is NOT equal to "Purchase Order"

Thanks

Brian Bradshaw
Systems Engineer
McGraw-Hill Education
McGraw-Hill Companies
860-409-2603
[EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to