RichieRich has asked for the wisdom of the Perl Monks concerning the following question:

I have recently installed Active Perl into my Windows root directory. In addition I have downloaded Test::Class and Test::More from CPAN but am getting the following error when trying to use them.
Base class package "Test::Class" is empty. (Perhaps you need to 'use' the module which defines that package f +irst.) at RomanTest.pm line 9 BEGIN failed--compilation aborted at RomanTest.pm line 9.
I've put the Test-Class lib\Test directory on my path but that didn't help. How can I configure this for Windows?

2005-09-07 Code tags added and retitled by holli, as per Monastery guidelines
Original title: 'Test::More'

Replies are listed 'Best First'.
Re: Need help using Test::Class
by davidrw (Prior) on Sep 06, 2005 at 20:54 UTC
    can you show us RomanTest.pm line 9 (and a few surrounding lines for context)? How are you "trying to use them"? Do you have a use Test::Class; statement?
Re: Need help using Test::Class
by adrianh (Chancellor) on Sep 07, 2005 at 11:02 UTC

    Sounds like you either didn't use Test::Class, or it isn't installed.

    Can you show us RomanTest.pm and check that perl -MTest::Class -e 1 runs without error?