# from brian d foy # on Tuesday 22 September 2009 13:44: >When I use Module::Build->resume to pick up where a build left off, >I'm not getting the @INC originally declared in the Build.PL. I think >I'm doing something wrong. > >I'm working on a continuous integration and deployment system. For > part of the process, we run the Build.PL, try the test targets, then > have to go off to do some other work before we continue. Part of this > deals with external tools, so the main program doesn't have access to > the original Module::Build object.
I'm not sure if resume() is really intended for that or has ever really been tested in such a scenario. The @INC from Build.PL is stored in ./Build and typically picked-up from there. Is there a reason that you don't want to shell out to "./Build test"? --Eric -- "Time flies like an arrow, but fruit flies like a banana." --Groucho Marx --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------