Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Push local lib paths to @INC array

by gube (Parson)
on Dec 26, 2008 at 21:22 UTC ( #732715=note: print w/replies, xml ) Need Help??


in reply to Push local lib paths to @INC array

If your application has many modules and many scripts lets say 100, instead adding these lines in each and every file and model class, you can export simply in command prompt while running the script. In linux terminal export PERL5LIB=/home/gubendran/dashboard/trunk/lib/ This will work till you close the terminal. This avoid adding code in each and every script and you can change the library path anytime.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://732715]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2017-08-17 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (277 votes). Check out past polls.

    Notices?