Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: how to force Build test to load all modules from blib/lib first

by Anonymous Monk
on Nov 22, 2012 at 04:23 UTC ( #1005054=note: print w/replies, xml ) Need Help??


in reply to Re: how to force Build test to load all modules from blib/lib first
in thread how to force Build test to load all modules from blib/lib first

blib is for blib, and Module::Build/ExtUtils::MakeMaker/Module::Install... all do it by default, and even prove has a -b switch to load blib

  • Comment on Re^2: how to force Build test to load all modules from blib/lib first

Replies are listed 'Best First'.
Re^3: how to force Build test to load all modules from blib/lib first
by rbroberts (Initiate) on Nov 22, 2012 at 11:48 UTC
    All of those put blib/lib near the front of @INC. In spite of that, something weird is going on with module load order. Since it's happening at compile time, I can only see the state after the loads at which point %INC shows the wrong module loaded for the one.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005054]
help
Chatterbox?
[Corion]: Hmm. My overkill logging of transactions seems to bear fruit. I've built it in a way that the decision on every transaction must be logged, even if the transaction is just skipped, to prevent silent skips.
[Corion]: Now, three years in production, it found a situation (during development) where stuff was skipped without getting a log message.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-08-21 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (318 votes). Check out past polls.

    Notices?