转自:http://perl.apache.org/docs/general/perl_reference/perl_reference.html
use(), require(), do(), %INC and @INC Explained
The @INC array
@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.
When you use(), require() or do() a filename or a module, Perl gets a list of directories from the @I......
阅读全文