Software Engineer

examining perl @INC path from the command line

· by jsnby · Read in about 1 min · (28 Words)
Computers

Here’s a snippet that will print out perl’s @INC path perl -e'print join("\n", @INC);\n'

And my results on CentOS 5.5:

/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.8