What are all the ways of affecting where Perl modules are searched for? or, How is Perl's @INC constructed?
As we know, Perl uses @INC
array containing directory names to determine where to search for Perl module files.
There does not seem to be a comprehensive "@INC" FAQ-type post on StackOverflow, so this question is intended as one.
转载于:https://stackoverflow.com/questions/2526804/how-is-perls-inc-constructed-aka-what-are-all-the-ways-of-affecting-where-pe