[Mimedefang] Which Virus Scanner?

Matthew.van.Eerde at hbinc.com Matthew.van.Eerde at hbinc.com
Mon Mar 7 11:11:03 EST 2005


Jonathan Maliepaard wrote:
> use File::Scan;
> $Features{"File::Scan"} = 1; (or 0)

$Features{"File::Scan"} = 1; # turns it on
$Features{"File::Scan"} = 0; # turns it off?

I worry about the = 0 thing.  You might be better off doing
delete $Features{"File::Scan"};

instead.  I'm not sure how the %Features hash is queried... but if it does

if (defined $Features{$key})

or

for my $feature (keys %Features)

then a value of 0 is the same as a value of 1.

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