--- Eric Wilhelm <[EMAIL PROTECTED]> wrote: > # 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) {}
Ah yes. That was one way of fixing it. Turns out that upgrading Test::Deep also fixes this. It had its own isa() defined. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/