# from brian d foy
# on Tuesday 29 September 2009 17:19:

>>   eval "require $build_class; 1" or
>>     die "Failed to re-load '$build_class': $@";
>
>Well, that bit is the problem. If I got past that I wouldn't have a
>problem.

But wait, you said you called Module::Build->resume() and got back the 
expected object class but without the necessary @INC.  How did that 
happen?

>Well, I'd just store the extra libs in Build i _build/config and leave
>it at that without changing any other MB code. If I resume(), I can
>query the config and decide on my own how to handle it. Ideally, I'd
>like to know everything about the setup as I can from config.

That's doable, but you need that info before you resume() to deal with 
the require() above, right?

--Eric
-- 
Turns out the optimal technique is to put it in reverse and gun it.
--Steven Squyres (on challenges in interplanetary robot navigation)
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to