Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2017-03-25 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (313 votes). Check out past polls.