Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Adding path in linux/unix

Posted on 2014-09-21
10
192 Views
Last Modified: 2014-10-19
How can I add a path in linux/unix so a module check that location.  The error I am recieving now is
cant locate module.pm @INC

Thanks
Jack
0
Comment
Question by:Jack_son_
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 40335626
see
perldoc lib

cf. @INC in
perldoc perlvar
0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 500 total points
ID: 40336403
echo $PATH

set PATH=$PATH;<your path>
export PATH

TY/SA
0
 

Author Comment

by:Jack_son_
ID: 40336445
Thanks; one question, this wont remove the paths that are in place, I just want to add to the path list
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 13

Accepted Solution

by:
Sandy earned 500 total points
ID: 40336446
no it wont..
0
 

Author Comment

by:Jack_son_
ID: 40336731
it is indicating this is a directory and gives an error
0
 
LVL 84

Expert Comment

by:ozo
ID: 40337501
What is indicating, and what error?
Is your question about $PATH in the shell environment, or about @INC in perl?
0
 

Author Comment

by:Jack_son_
ID: 40345998
The program seems to be getting the path from @INC in perl; I am not an expert in this area and just need to add one more dir to this path
0
 
LVL 84

Expert Comment

by:ozo
ID: 40346002
see
perldoc lib
0
 
LVL 58

Expert Comment

by:Gary
ID: 40390610
I've requested that this question be closed as follows:

Accepted answer: 500 points for ozo's comment #a40335626

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Fine Tune your automatic Updates for Ubuntu / Debian
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

838 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