Wednesday 20 August 2014

Perl @INC

Perl uses @INC array containing directory names to determine where to search for Perl module files.

To see the @inc paths; perl -e 'print join "\n", @INC'

To list/check all the Perl installed modules, enter the below given command:


find `perl -e 'print "@INC"'` -name '*.pm' -print

No comments:

Post a Comment