Create and Use a Local Lib/ for Perl Modules with Perl5lib

Edit Package perl-local-lib
http://search.cpan.org/dist/local-lib/

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.

Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
cpanspec.yml 0000001583 1.55 KB
local-lib-2.000029.tar.gz 0000063789 62.3 KB
perl-homedir.csh 0000000411 411 Bytes
perl-homedir.sh 0000000403 403 Bytes
perl-local-lib.changes 0000012752 12.5 KB
perl-local-lib.spec 0000003839 3.75 KB
project.diff 0000001140 1.11 KB
Latest Revision
Lars Vogdt's avatar Lars Vogdt (lrupp) committed (revision 3)
patch applied in devel:languages:perl
Comments 0
openSUSE Build Service is sponsored by