in reply to Adding a lib path to perl
e.g.
-f Disable executing $Config{sitelib}/sitecustomize.pl at sta +rtup. Perl can be built so that it by default will try to execut +e $Config{sitelib}/sitecustomize.pl at startup. This is a h +ook 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.
But I suppose most sys-admins (if they don't provide an own build) just adjust the default ENV of the users.
running perl -V shows me that my system perl was build with /usr/local/lib/site_perl as last entry in @INC.
This points to a yet not existing directory.
Populating or linking should help customizing your system's Perl.
HowTo search: "system wide Adding a lib path to perl"
Add directry to @INC system wide
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Adding a lib path to perl
by RenardBleu (Sexton) on Jan 07, 2014 at 13:00 UTC |