Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: mikael [...] distopic.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.28
Fixed in: (no value)



Subject: UNIVERSAL::can should be called as a method in Log4perl::Appender
Module: Log::Log4perl::Appender Version: 1.28 Perl versions: 5.8.8, 5.10 When using Log::Log4perl::Appender, Perl prints the following warning: Called UNIVERSAL::can() as a function, not a method at /.../lib/Log/Log4perl/Appender.pm line 62
On Fri May 21 07:20:34 2010, xevz wrote: Show quoted text
> Called UNIVERSAL::can() as a function, not a method at > /.../lib/Log/Log4perl/Appender.pm line 62
To help debug this issue, please include code that reproduces this.
From: mikael [...] distopic.net
On Fri May 21 12:22:05 2010, MSCHILLI wrote: Show quoted text
> On Fri May 21 07:20:34 2010, xevz wrote:
> > Called UNIVERSAL::can() as a function, not a method at > > /.../lib/Log/Log4perl/Appender.pm line 62
> > To help debug this issue, please include code that reproduces this. >
After several tries to recreate this bug, I found it is caused by Test::MockObject. This bug report may therefore be closed.
Show quoted text
> After several tries to recreate this bug, I found it is caused by > Test::MockObject.
Nice, thanks for the update!