Skip navigation.
Home
Your source for Perl tips, howto's, faq and tutorials
( categories: | )

The array @INC contains the list of places that the 'do EXPR', 'require', or 'use' constructs look for their library files. The following one-liner shows the contents of that array:

perl -e 'foreach $folder (@INC) { print "$folder\n";}'