in reply to Changing @INC

Just set $ENV{PERLLIB} or $ENV{PERL5LIB} for everybody in their profile. Also see perlrun.

Replies are listed 'Best First'.
Re^2: Changing @INC
by wind (Priest) on Jul 09, 2007 at 22:41 UTC
    Also from perlrun
    -f

    Disable executing $Config{sitelib}/sitecustomize.pl at startup.

    Perl can be built so that it by default will try to execute $Config{sitelib}/sitecustomize.pl at startup. This is a hook that allows the sysadmin to customize how perl behaves. It can for instance be used to add entries to the @INC array to make perl find modules in non-standard locations.
    - Miller