in reply to Changing @INC after moving Perl

Default @INC is compiled into Perl. You can add directories to @INC with the PERL5LIB environment variable or with use lib 'foo';

.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: INC
by ariels (Curate) on Jul 02, 2002 at 14:19 UTC
    Pointers to the docs: use lib ... is described if you run perldoc lib (click the second link); the PERL5LIB environment variable is described in perlrun.