Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2016-10-26 18:13 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (345 votes). Check out past polls.