FYI this is not an issue with the latest Test::Deep. Lessons learned (from this and other problems)
- default exports are just bad - having an isa() function anywhere is asking for trouble, various modules will call ->isa on every package they see whether it's really an OO package or not The solution was finally to make Test::Deep::isa dispath to UNIVERSAL::isa() if it figures out that's the right thing to do. Yuck! F 2008/6/20 Eric Wilhelm <[EMAIL PROTECTED]>: > # from Ovid > # on Friday 20 June 2008 07:16: > >> Invalid CODE attribute: Tests(startup => 1) at TestIt.pm line 9 >> BEGIN failed--compilation aborted at TestIt.pm line 9. > > The 'use base' and load order appear to be trouble. > > Either: > use base qw(Test::Class); > use Test::Deep; > sub startup : Tests(startup) {} > > Or: > use Test::Deep; > use Test::Class; BEGIN {our @ISA = qw(Test::Class)}; > sub startup : Tests(startup) {} > > --Eric > -- > But as soon as you hear the Doppler shift dropping in pitch, you know > that they're probably going to miss your house, because if they were on > a collision course with your house, the pitch would stay the same until > impact. As I said, that one's subtle. > --Larry Wall > --------------------------------------------------- > http://scratchcomputing.com > --------------------------------------------------- >