title: How is Perl's @INC constructed? (aka What are all the ways of affecting where Perl modules are searched for?)
body: <p>What are all the ways of affecting where Perl modules are searched for?
  or, <strong>How is Perl's @INC constructed</strong>? </p>
  
  <p>As we know, <a href="https://stackoverflow.com/questions/2526520/how-does-a-perl-program-know-where-to-find-the-file-containing-perl-module-it-use">Perl uses <code>@INC</code> array containing directory names to determine where to search for Perl module files</a>. </p>
  
  <p>There does not seem to be a comprehensive "@INC" FAQ-type post on StackOverflow, so this question is intended as one. </p>