Matthew.van.Eerde wrote:
> Switch the conditions and you'll save a lot of calls to is_list:
> if (($hostip == "127.0.0.1") && &is_list($sender)){

Oh, and you probably want eq instead of == since you're comparing strings:
if (($hostip eq "127.0.0.1") && &is_list($sender)){

Recent versions of Perl though have "version numbers" which are multiple-dotted things 
that behave like numbers.  Not sure how that would interact with IP addresses.  Best 
to use eq just to be safe.

[EMAIL PROTECTED]                      805.964.4554 x902
Hispanic Business Inc./HireDiversity.com         Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"

_______________________________________________
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