Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
36862
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Important
Broken in:
(no value)
Fixed in:
(no value)



Subject: Test::Deep kills Test::Class
The smallest test case I can manage: package TestIt; use Test::Deep; use base 'Test::Class'; sub startup : Tests(startup => 1) {} 1; Trying to compile that results in: Invalid CODE attribute: Tests(startup => 1) at TestIt.pm line 9 BEGIN failed--compilation aborted at TestIt.pm line 9. Removing Test::Deep fixes this. Curiously, suppressing the import with "use Test::Deep ()" doesn't fix this. $ uname -a SunOS ioz-dev-pipsv3 5.10 Generic_125101-10 i86pc i386 i86pc $ perl -v This is perl, v5.8.8 built for i86pc-solaris-thread-multi Digging in further, it looks like it's the 'require overload' line which does it. Now I'm stumped. Cheers, Ovid
Thought I marked this as resolved already... memory playing tricks... Problem caused by Test::Deep redefining isa - fixed in later T::D/T::C releases :-)


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.