./devel/p5-local-lib, Create and use a local lib/ for perl modules with PERL5LIB

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q1, Version: 2.000024nb3, Package name: p5-local-lib-2.000024nb3, Maintainer: pkgsrc-users

This module provides a quick, convenient way of bootstrapping a user-local
Perl module library located within the user's home directory. It also
constructs and prints out for the user the list of environment variables
using the syntax appropriate for the user's current shell (as specified by
the "SHELL" environment variable), suitable for directly adding to one's
shell configuration file. More generally, local::lib allows for the
bootstrapping and usage of a directory containing Perl modules outside of
Perl's @INC. This makes it easier to ship an application with an
app-specific copy of a Perl module, or collection of modules. Useful in
cases like when an upstream maintainer hasn't applied a patch to a module
of theirs that you need for your application. On import, local::lib sets
the following environment variables to appropriate values: PERL_MB_OPT
PERL_MM_OPT PERL5LIB PATH PERL_LOCAL_LIB_ROOT When possible, these will be
appended to instead of overwritten entirely. These values are then
available for reference by any code after import.


Master sites: (Expand)

SHA1: 5ccafbebb87c79e20ddcd3f47a30b865964cb0da
RMD160: e478c23762a3a2a271ee01bab4b4b7b5b457f73e
Filesize: 61.466 KB

Version history: (Expand)