Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: how to force Build test to load all modules from blib/lib first (use lib ... is for scripts not modules!)

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


in reply to Re^2: 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

Here is patch for lib.pm, add to sub import

if( ( caller )[1] =~ /\.pm$/ ){ require Carp; Carp::croak( "use lib ... is for scripts not modules!"); }


Comment on Re^3: how to force Build test to load all modules from blib/lib first (use lib ... is for scripts not modules!)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005201]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-04-18 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (465 votes), past polls