Solved

how to modify perl @INC array

Posted on 2002-06-04
3
2,692 Views
Last Modified: 2010-05-18
How do I modify @INC array ?

I want to be able to use a module that is installed in a different location of perl (than the one that I normally use). So I was told to modify INC array.

thanks.
0
Comment
Question by:chazhs
3 Comments
 
LVL 84

Expert Comment

by:ozo
Comment Utility
use lib 'location of module';
0
 
LVL 5

Accepted Solution

by:
dkjariwala earned 50 total points
Comment Utility
push (@INC,'/your/path/to/folder');


That might do.

JD
0
 

Author Comment

by:chazhs
Comment Utility
Thank You! This was the answer I was looking for!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now