Re: How do I properly use resume() and pick up inc?

[email protected] (Eric Wilhelm)
Newsgroups perl.module.build
Message-ID <[email protected]>
# 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
---------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.