On Fri, March 1, 2013 11:20 am, Linda W wrote:
> This is the one I was using...
> But I was in the 't' dir, and my test tried to access
> the module using ../lib/module.pm

you should run "make test" from the distribution folder, not from t
(wouldn't work anyway, since the Makefile is not inside t).

I'm wondering how you are including the module in your test... should be
just a plain:

use My::Module;

then make test (or prove) should take care of the rest. just don't try to
access your module in any special way from the test script.

> I'm not sure, but will I a blib dir if it is a Perl-only distribution?

yes, the build procedure always create a blib dir. at the minimum (if
there is no C code to compile, or other additional build steps) it will
just copy the .pm files from lib to blib.

cheers,
Aldo


Reply via email to