Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

Adding path in linux/unix

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
Jack_son_
Asked:
Jack_son_
  • 3
  • 3
  • 2
  • +1
2 Solutions
 
ozoCommented:
see
perldoc lib

cf. @INC in
perldoc perlvar
0
 
SandyCommented:
echo $PATH

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

TY/SA
0
 
Jack_son_Author Commented:
Thanks; one question, this wont remove the paths that are in place, I just want to add to the path list
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
SandyCommented:
no it wont..
0
 
Jack_son_Author Commented:
it is indicating this is a directory and gives an error
0
 
ozoCommented:
What is indicating, and what error?
Is your question about $PATH in the shell environment, or about @INC in perl?
0
 
Jack_son_Author Commented:
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
 
ozoCommented:
see
perldoc lib
0
 
GaryCommented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now