# 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
---------------------------------------------------

Reply via email to