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

Owner: Nobody in particular
Requestors: ovid [...]

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

Subject: Test::Deep kills Test::Class
Download (untitled) / with headers
text/plain 684b
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 line 9 BEGIN failed--compilation aborted at 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
Download (untitled) / with headers
text/plain 154b
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 is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to