in reply to Re^2: "make test" problems with previously installed module
in thread "make test" problems with previously installed module

As long as you're mangling the test script anyway, I'd start with a dumping of @INC to see what's there, then a manual check of each directory in order to ensure that the module you think should be there is there. And the use lib line you've posted probably should warrant a check of the current working directory to ensure it's relative to where you think it should be. ;-)

  • Comment on Re^3: "make test" problems with previously installed module

Replies are listed 'Best First'.
Re^4: "make test" problems with previously installed module
by geektron (Curate) on Sep 11, 2005 at 17:30 UTC
    well, i added
    print "DIR: _$ \n" foreach @INC;
    and the results were pretty obvious ... the first directory is the site_perl directory that's throwing the errors (because the tests won't pass on the installed version ), and the second directory is the one added via command line.