> + if (($conf->{protection}) && ($conf->{protection} == 1)) > { What is the purpose of this strict test? I thought the following is good enough: if ($conf->{protection}) { ...