Quote:
Originally Posted by GazL
So basically, if you never do a 'perldoc perllocal' it doesn't matter? Does anything else use the files contents?
|
That's right: if you track which non-core Perl modules you've installed another way (e.g. by building Slackware packages and installing them via pkgtools, which is better for all sorts of reasons), there's really no need for perllocal.pod at all.
Of course, there are some Perl modules that have such huge dependency trees that it's not practical to create Slackware packages for all of them. In that case,
local::lib comes in handy: after you've installed that module globally, you can use it to create a "private" PERL5LIB directory and arrange for cpan(1) and friends to install modules in that directory to avoid polluting your system-wide @INC directories. You can then tell Perl programs that need those modules to look for them in that directory. (If you know Python, it's kind of like
virtualenv.)
local::lib would actually be a really useful addition to Slackware generally - I'll request it in the sticky thread.