From 1b17b6af6301557d94e02b63dac99c3571658aa5 Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Sat, 16 Mar 2019 16:22:41 +0100 Subject: [PATCH] don't use defined(@array) construct (RT #117591) --- lib/W3C/LogValidator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/W3C/LogValidator.pm b/lib/W3C/LogValidator.pm index 1d407a5..95689b8 100755 --- a/lib/W3C/LogValidator.pm +++ b/lib/W3C/LogValidator.pm @@ -559,7 +559,7 @@ sub use_modules my @modules; # the value of the hash may be an array or a single value, # we have to check this - if (defined @{ $config{LogProcessor}{UseValidationModule} }) + if (@{ $config{LogProcessor}{UseValidationModule} }) { @modules = @{$config{LogProcessor}{UseValidationModule}} } -- 2.1.4