On Fri, March 1, 2013 9:58 am, Linda W wrote: > I developed a few tests for a module I was trying to get on to CPAN. > > They worked when I ran them in the 't' directory. > > But under the test harness, they failed... it couldn't find > the module files.
if by "test harness" you mean prove, then you need to add the -b flag (after a successfull "make" or "./Build"), as in: prove -b t/* if you want to run them using the modules from "lib" instead of "blib" (not really recommended) then change -b to -l. the usual procedure, however, is to run them directly as part of the build procedure: perl Makefile.PL make make test <-- here # or perl Build.PL ./Build ./Build test <-- here cheers, Aldo