Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

@INC Question

Posted on 2014-09-19
3
Medium Priority
?
160 Views
Last Modified: 2014-10-19
Hi,

Where do I check to see what the path is set for in this file in Unix?

Thanks
0
Comment
Question by:Jack_son_
3 Comments
 
LVL 8

Assisted Solution

by:Pepe2323
Pepe2323 earned 1000 total points
ID: 40333824
Hi

You will need to find it , use find command

find / -name "filename"

if  u don't know the exact name you can use something like

find / |grep -i filname

regards.
0
 
LVL 85

Expert Comment

by:ozo
ID: 40337554
Set for in what file?
@INC looks more like a perl array than a file.
0
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 1000 total points
ID: 40340142
To quote from:
https://perl.apache.org/docs/general/perl_reference/perl_reference.html#use____require____do_____INC_and__INC_Explained
@INC is a special Perl variable which is the equivalent of the shell's PATH variable. Whereas PATH contains a list of directories to search for executables, @INC contains a list of directories from which Perl modules and libraries can be loaded.
0

Featured Post

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.

Question has a verified solution.

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

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

877 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