Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by rbroberts (Initiate)
on Nov 22, 2012 at 11:53 UTC ( #1005119=note: print w/replies, xml ) Need Help??


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

Found it! The common module was loading yet another common module that included "use lib ..." that was putting the installed area back in front of blib/lib. I'm beginning to think use lib is evil and PERL5LIB is a much better approach througout.
  • Comment on Re: how to force Build test to load all modules from blib/lib first

Replies are listed 'Best First'.
Re^2: how to force Build test to load all modules from blib/lib first
by Anonymous Monk on Nov 23, 2012 at 00:51 UTC

    I'm beginning to think use lib is evil and PERL5LIB is a much better approach througout.

    No, lib is not evil, lib simply doesn't belong in modules, it belongs in scripts

      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!"); }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005119]
help
Chatterbox?
[Corion]: In Amsterdam, the screen went down to the bottom of the stage (60cm above ground) and the seating was on the ground, meaning that the rows in the back couldn't see the bottom of slides.
[Corion]: There also were some columns that meant that maybe you couldn't see the left/right edge of a slide.
[ambrus]: Corion: Sure. I've had a course in a 50 seat lecture hall that has two fucking columns in the middle.
[Corion]: Talking about it, the top should be fairly visible in the situations I've experienced at least. The top is uncomfortable for people in the first three rows, but that's life ;)
[ambrus]: The pillars are there because this is in the 6th floor of building R of BME, which is an attic that was built in after the original building, which is also why the elevator doesn't go that high and the windows are tiny.
[Corion]: ambrus: Hehe ;) Yeah - such real life stuff is far more inconveniencing than wasting display area due to screen ratio problems :)
[ambrus]: Corion: yes, it's a bit tricky. you can try to adjust the slides live to cover only a part of the screen, but it's still hard.
[ambrus]: Corion: two very hard things about presentations I should try to work on if I have twenty times as much free time as in real life are:
[Corion]: That's why I like HTML - it makes it relatively easy to resize stuff. Resizing with Powerpoint is much harder, or at least, I remember it being that way
[ambrus]: (a) good sans serif fonts optimized for slides in a projector with coverage of the symbols needed for mathematical formulas in a sans serif font matching the text font well, and

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2017-09-26 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?