Solved

Adding path in linux/unix

Posted on 2014-09-21
10
188 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

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.

Question has a verified solution.

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

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

803 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