Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Calculations before using lib;

by ikegami (Pope)
on Aug 04, 2014 at 16:11 UTC ( #1096162=note: print w/ replies, xml ) Need Help??


in reply to Calculations before using lib;

(Nevermind. The script apparently doesn't know where it is relative to its lib dir. I'm not sure how that's possible. Maybe it likes to go on walks alone? Or maybe the lib dir has nothing to do with the script, so PERL5LIB should be used instead.)

Sounds to me like you could simply use

use FindBin qw($RealBin); use lib "$RealBin/../lib"; use MonkeyMan;

or

use mylib; use MonkeyMan;


Comment on Re: Calculations before using lib;
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2015-08-28 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (334 votes), past polls