in reply to perl -V

Q1: AFAIK there are 2 ways of externally modifying @INC Q2: only the directories in @INC, and not subdirectories are searched for modules. Of course for the module Data::Dumper all directories in @INC would be searched for a subdirectory called 'Data', with a file called Dumper.pm.

Replies are listed 'Best First'.
Re^2: perl -V
by water (Deacon) on Jul 31, 2004 at 17:24 UTC
    Many thanks.

    Is there a way to ask perl which directories in @INC are "built-ins" (from the build), vs. "user-added" (via -I or PERLLIB or PERL5LIB activity?)

      Use the toolkit.

      env -i perl -V

      Makeshifts last the longest.