--- W3C/LogValidator/Config.pm.bak 2008-10-09 22:44:53.626000000 +0100 +++ W3C/LogValidator/Config.pm 2008-10-09 22:44:26.969750000 +0100 @@ -164,7 +164,7 @@ if (exists($tmpconf{CustomLog})) { # if there are several log files, $tmpconf{CustomLog} is an array - if (defined @{ $tmpconf{CustomLog} }) + if (ref($tmpconf{CustomLog}) eq 'ARRAY') { foreach my $customlog (@{ $tmpconf{CustomLog} }) {