Skip Menu |

This queue is for tickets about the Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 74833
Status: resolved
Priority: 0/
Queue: Log-Log4perl

People
Owner: Nobody in particular
Requestors: RURBAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.35
Fixed in: (no value)



Subject: fix defined @array for 5.16
Tests fail without this patch on 5.16 -- Reini Urban
Subject: 0001-fix-defined-array-for-5.16.patch
From 0a7a53a70bfffcde9b32516ecff059f559d87f47 Mon Sep 17 00:00:00 2001 From: Reini Urban <rurban@cpanel.net> Date: Thu, 9 Feb 2012 17:15:55 -0600 Subject: [PATCH] fix defined @array for 5.16 --- lib/Log/Log4perl/Config.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Log/Log4perl/Config.pm b/lib/Log/Log4perl/Config.pm index 4cd7a9f..159fe02 100644 --- a/lib/Log/Log4perl/Config.pm +++ b/lib/Log/Log4perl/Config.pm @@ -872,7 +872,7 @@ sub allowed_code_ops { } else { # give back 'undef' instead of an empty arrayref - unless( defined @Log::Log4perl::ALLOWED_CODE_OPS_IN_CONFIG_FILE ) { + unless( @Log::Log4perl::ALLOWED_CODE_OPS_IN_CONFIG_FILE ) { return; } } -- 1.7.5.4
Applied: https://github.com/mschilli/log4perl/commit/7b6100d1d01959004ba265d32b11c 1e7531a0ae6 Thanks for your contribution. -- Mike