[Pdx-pm] how to append to library path?

Jeff Zucker jeff at vpservices.com
Mon Dec 15 14:59:19 CST 2003


Chris Dawson wrote:

> Is it possible to append to the @INC path such that any instance of 
> Perl always uses a special library path?  Is this something that is 
> compiled into perl, or is there a file which I can modify to do this?  
> I realize I can add a "use lib" statement to my scripts, but I would 
> like to enable this in a more global way.

The PERL5LIB environment setting. (see perldoc perlrun)

-- 
Jeff




More information about the Pdx-pm-list mailing list