How can I change @INC permanently, without changing my scripts, in Strawberry Perl?
I’m aware of -I, but don’t want to invoke that switch every time.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To prepend paths, set environment variable PERL5LIB to those paths.
Note: This will affect all installations of Perl you run when this is effect.
Howto: Right-click (My) Computer, Properties, Advanced, Environment Variables, (the top) New. You will probably have to restart already running consoles to get the change.