Skip Menu |

This queue is for tickets about the Class-Declare CPAN distribution.

Report information
The Basics
Id: 48499
Status: resolved
Priority: 0/
Queue: Class-Declare

People
Owner: ibb [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.12
Fixed in: (no value)



Subject: Test failure, probably related to new Test::Builder
There are several test failures for Class-Declare in the form http://www.nntp.perl.org/group/perl.cpan.testers/2009/07/msg4834749.html with the error message Can't locate overload.pm in @INC (@INC contains:) at /home/perl589/perl/lib/5.8.9/Test/Builder.pm line 460. I think this could be related to the fact that you explicitely sets @INC to an empty list in t/21dump.t, but Test::Builder at some points relies on autoloading overload.pm, and fails. Regards, Slaven
Great bug report, thanks for this. I have adopted a new approach for testing against the failure to load Class::Declare::Dump which does not involve having an empty @INC. Version 0.13 now on its way to CPAN.
Reopening after failure against Perl v5.10.0 FAIL Class-Declare-0.13 amd64-freebsd 7.0-release
Belatedly I'm closing this as I believe v0.15 (now heading to CPAN) should address this issue. The dump() and hash() methods are no longer loaded dynamically when called, but are instantiated when Class::Declare is first compiled. Please let me know if this doesn't address this or if other problems persist with Class::Declare.