devel/p5-local-lib 2.000029nb3 NetBSD
Create and use a local lib/ for perl modules with PERL5LIB
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 33.2 KiB, 153.7 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-local-lib | 2.000029nb3 |
| FreeBSD | devel/p5-local-lib | 2.000029 |
| OpenBSD | devel/p5-local-lib | 2.000029 |
| DragonFly | devel/p5-local-lib | 2.000029 |
| HardenedBSD | devel/p5-local-lib | 2.000029 |
| GhostBSD | devel/p5-local-lib | 2.000029 |
Install
Binary package:
pkgin install p5-local-lib
From pkgsrc:
cd /usr/pkgsrc/devel/p5-local-lib && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.000029nb3 |
| NetBSD 10.1 aarch64 | 2.000029nb2 |
| SmartOS / illumos x86_64 | 2.000029nb3 |
| macOS 15 arm64 | 2.000029nb3 |