Perl: Module Load Paths
Show Module Load Paths
@INC
- Predefined variable. A list of library search paths.
Here is a example showing module search paths and loaded modules:
use Data::Dumper; print Dumper \@INC; # prints all module search paths __END__ $VAR1 = [ '/etc/perl', '/usr/local/lib/perl/5.14.2', '/usr/local/share/perl/5.14.2', '/usr/lib/perl5', '/usr/share/perl5', '/usr/lib/perl/5.14', '/usr/share/perl/5.14', '/usr/local/lib/site_perl', '.' ];