Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Push local lib paths to @INC array

by gube (Parson)
on Dec 26, 2008 at 21:22 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://732715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-18 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found