if (defined($params->{root}) && $params->{root} eq '') [download]
In reply to complaint: always testing defined() by RaptorRex