How is Perl's @INC constructed? (aka What are all the ways of affecting where Perl modules are searc

Posted by DVK on Stack Overflow See other posts from Stack Overflow or by DVK
Published on 2010-03-26T21:14:48Z Indexed on 2010/03/26 21:33 UTC
Read the original article Hit count: 918

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about perl

Related posts about perl-module