Link to home
Start Free TrialLog in
Avatar of Jack_son_
Jack_son_Flag for Afghanistan

asked on

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
Avatar of ozo
ozo
Flag of United States of America image

see
perldoc lib

cf. @INC in
perldoc perlvar
SOLUTION
Avatar of Sandy
Sandy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jack_son_

ASKER

Thanks; one question, this wont remove the paths that are in place, I just want to add to the path list
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it is indicating this is a directory and gives an error
What is indicating, and what error?
Is your question about $PATH in the shell environment, or about @INC in perl?
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
see
perldoc lib
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.