Skip Menu |

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

Report information
The Basics
Id: 36862
Status: resolved
Priority: 0/
Queue: Test-Class

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

Bug Information
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 :-)