[Mimedefang] graphdefang and mailing list activity
Matthew.van.Eerde at hbinc.com
Matthew.van.Eerde at hbinc.com
Fri Aug 20 12:24:21 EDT 2004
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.
Matthew.van.Eerde at hbinc.com 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,"
More information about the MIMEDefang
mailing list