http://qs321.pair.com?node_id=498285


in reply to Building Perl With My Own Module Directories

One easy way to add paths to @INC is to use a loser or system-wide environ variables (say, via /etc/profile) PERL5LIB or PERLLIB. They are a collon-separated list of pathnames; consult 'perldoc perlrun' for more details.