On Tue, 02 Dec 2008, Michael Ellery wrote:
> What's the best way to add a new path to perl's @INC search path? Our
> product installs several perl modules and I would like to make those
> modules available to all perl scripts without asking users to add the
> 'use lib "mypath"' business in every script. I'm only concerned with
> windows (Activestate) perl at this point, but a solution that worked
> generally would be fine too.

Set the PERL5LIB environment variable to point to your directory (see
`perldoc perlrun` for details.

Cheers,
-Jan

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to