On Fri, 9 Jul 2004, Atanas wrote:

> >> if($mailip eq $internal_net1 || $mailip eq $internal_net2) {
> 
> Wrong. '||' and 'or' *both* have lower precedence than 'eq', '==', etc.
> Please read the man pages before posting.

Why not use parentheses for precedence?  It's safer and much easier to 
read, IMO: 

if (($mailip eq $internal_net1) || ($mailip eq $internal_net2)) {

ray


_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to