@INC

Finding @INC

Question: 

How can I find out which directories are in @INC?

Answer: 

@INC is a special variable which contains the directories perl looks through for files included through use, require or do statements. To see which directories are in @INC, run the following at the command-line:

    perl -e "foreach (@INC){print $_.\"\n\"}"